-Added an optimization so physics shapes are configured later, speeds up grid map loading and editing
This commit is contained in:
parent
29db531fc8
commit
adde89e8b1
9 changed files with 65 additions and 14 deletions
|
|
@ -88,7 +88,7 @@ void MeshLibraryEditor::_import_scene(Node *p_scene, Ref<MeshLibrary> p_library,
|
|||
if (mesh.is_null())
|
||||
continue;
|
||||
|
||||
int id = p_library->find_item_name(mi->get_name());
|
||||
int id = p_library->find_item_by_name(mi->get_name());
|
||||
if (id < 0) {
|
||||
|
||||
id = p_library->get_last_unused_item_id();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue