14 lines
420 B
Haxe
14 lines
420 B
Haxe
package arm.io;
|
|
|
|
import iron.object.MeshObject;
|
|
import arm.ui.UISidebar;
|
|
|
|
class ExportMesh {
|
|
|
|
public static function run(path: String, paintObjects: Array<MeshObject> = null, applyDisplacement = false) {
|
|
if (paintObjects == null) paintObjects = Project.paintObjects;
|
|
if (Context.exportMeshFormat == FormatObj) ExportObj.run(path, paintObjects, applyDisplacement);
|
|
else ExportArm.runMesh(path, paintObjects);
|
|
}
|
|
}
|