1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix problems reloading MeshLibrary

This commit is contained in:
kobewi
2023-06-11 18:52:49 +02:00
parent 37d1dfef9d
commit 0a4d0506d1
2 changed files with 4 additions and 0 deletions

View File

@@ -301,6 +301,7 @@ void MeshLibraryEditorPlugin::edit(Object *p_node) {
mesh_library_editor->edit(Object::cast_to<MeshLibrary>(p_node));
mesh_library_editor->show();
} else {
mesh_library_editor->edit(Ref<MeshLibrary>());
mesh_library_editor->hide();
}
}