Fix uv map update on mesh append
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user