Files
armorpaint/base/Sources/ExportMesh.ts
T

10 lines
347 B
TypeScript
Raw Normal View History

2024-01-17 18:53:31 +01:00
class ExportMesh {
static run = (path: string, paintObjects: MeshObject[] = null, applyDisplacement = false) => {
if (paintObjects == null) paintObjects = Project.paintObjects;
if (Context.raw.exportMeshFormat == MeshFormat.FormatObj) ExportObj.run(path, paintObjects, applyDisplacement);
else ExportArm.runMesh(path, paintObjects);
}
}