1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

-Added an optimization so physics shapes are configured later, speeds up grid map loading and editing

This commit is contained in:
Juan Linietsky
2017-09-03 14:53:17 -03:00
parent 29db531fc8
commit adde89e8b1
9 changed files with 65 additions and 14 deletions

View File

@@ -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();