Skip to content

Commit 4a27fb7

Browse files
committed
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`.
1 parent 26d1577 commit 4a27fb7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

editor/plugins/canvas_item_editor_plugin.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,6 @@ bool CanvasItemEditor::_select_click_on_item(CanvasItem *item, Point2 p_click_po
772772
// Reselect
773773
if (Engine::get_singleton()->is_editor_hint()) {
774774
selected_from_canvas = true;
775-
EditorNode::get_singleton()->edit_node(item);
776775
}
777776
}
778777
}

0 commit comments

Comments
 (0)