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