Files
armorpaint/Sources/arm/io/ExportMesh.hx
T
2021-09-29 14:24:24 +02:00

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);
}
}