Fix MeshLibrary editor taking priority over GridMap when it shouldn't

This commit is contained in:
Michael Alexsander
2026-04-16 12:51:06 -03:00
parent 3f63a400fa
commit a76a7d83b4
3 changed files with 7 additions and 1 deletions
@@ -1183,7 +1183,7 @@ void GridMapEditor::_update_mesh_library() {
if (mesh_library_editor_plugin) {
mesh_library_editor_plugin->edit(*mesh_library);
mesh_library_editor_plugin->make_visible(true);
mesh_library_editor_plugin->open_editor();
}
} else if (mesh_library_editor_plugin) {
mesh_library_editor_plugin->edit(nullptr);