Prepare iron to c port

This commit is contained in:
luboslenco
2024-01-31 15:12:28 +01:00
parent 21b456747d
commit 5b340fc755
37 changed files with 271 additions and 271 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ class TabObjects {
ui.row([1 / 4]);
if (ui.button("Import")) {
Project.importMesh(false, () => {
Project.paintObjects.pop().setParent(null);
Project.paintObjects.pop().base.setParent(null);
});
}
ui.endSticky();
@@ -96,7 +96,7 @@ class TabObjects {
}
Data.getMaterial("Scene", "TempMaterial" + TabObjects.materialId, (md: TMaterialData) => {
let mo: MeshObject = currentObject as MeshObject;
let mo: MeshObject = currentObject.ext;
mo.materials = [md];
MakeMaterial.parseMeshPreviewMaterial(md);
});