Browse Source

Fix edited node being removed before editor plugin handles focus loss

`CanvasItemEditor::_select_click_on_item` was causing
`EditorNode::_plugin_over_edit` to be called before focus exit had time
to propagate to `SpriteFramesEditor::_animation_speed_changed`.
Anni Ryynänen 1 year ago
parent
commit
4a27fb7e83
1 changed files with 0 additions and 1 deletions
  1. 0 1
      editor/plugins/canvas_item_editor_plugin.cpp

+ 0 - 1
editor/plugins/canvas_item_editor_plugin.cpp

@@ -772,7 +772,6 @@ bool CanvasItemEditor::_select_click_on_item(CanvasItem *item, Point2 p_click_po
 			// Reselect
 			if (Engine::get_singleton()->is_editor_hint()) {
 				selected_from_canvas = true;
-				EditorNode::get_singleton()->edit_node(item);
 			}
 		}
 	}