Core: Integrate Ref::instantiate where possible
This commit is contained in:
parent
0f5f3bc954
commit
925b690c98
44 changed files with 81 additions and 81 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue