From 15c053f5c2b66eca9b9f1c54b4dbcd2072223c7a Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Sun, 25 Jul 2021 21:20:44 +0100 Subject: [PATCH] Fix wrong type --- .../instance_library/voxel_instance_library_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/instance_library/voxel_instance_library_editor_plugin.cpp b/editor/instance_library/voxel_instance_library_editor_plugin.cpp index 8f52d4c2..cd8e01c9 100644 --- a/editor/instance_library/voxel_instance_library_editor_plugin.cpp +++ b/editor/instance_library/voxel_instance_library_editor_plugin.cpp @@ -117,7 +117,7 @@ void VoxelInstanceLibraryEditorPlugin::_on_remove_item_confirmed() { ERR_FAIL_COND(_library.is_null()); ERR_FAIL_COND(_item_id_to_remove == -1); - Ref item = _library->get_item(_item_id_to_remove); + Ref item = _library->get_item(_item_id_to_remove); UndoRedo &ur = get_undo_redo(); ur.create_action("Remove item");