Fix uv map update on mesh append

This commit is contained in:
luboslenco
2025-01-08 20:56:08 +01:00
parent 4f34bdaa25
commit d882c1efe6
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -403,6 +403,10 @@ function project_import_mesh(replace_existing: bool = true, done: ()=>void = nul
});
}
function project_append_mesh() {
project_import_mesh(false, import_mesh_finish_import);
}
function project_import_mesh_box(path: string, replace_existing: bool = true, clear_layers: bool = true, done: ()=>void = null) {
_project_import_mesh_box_path = path;
+1 -1
View File
@@ -34,7 +34,7 @@ function tab_meshes_draw(htab: ui_handle_t) {
project_import_mesh(true);
}
if (ui_menu_button(ui, tr("Append"))) {
project_import_mesh(false);
project_append_mesh();
}
});
}