Core: Integrate Ref::instantiate where possible

This commit is contained in:
Thaddeus Crews
2024-06-09 15:21:41 -05:00
parent 0f5f3bc954
commit 925b690c98
44 changed files with 81 additions and 81 deletions

View File

@ -2153,7 +2153,7 @@ void EditorNode::_dialog_action(String p_file) {
}
if (ml.is_null()) {
ml = Ref<MeshLibrary>(memnew(MeshLibrary));
ml.instantiate();
}
MeshLibraryEditor::update_library_file(editor_data.get_edited_scene_root(), ml, merge_with_existing_library, apply_mesh_instance_transforms);