Files
armorpaint/base/Sources/ExportMesh.ts
T
2024-02-01 19:28:16 +01:00

10 lines
348 B
TypeScript

class ExportMesh {
static run = (path: string, paintObjects: TMeshObject[] = 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);
}
}