1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

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`.
This commit is contained in:
Anni Ryynänen
2024-07-10 11:07:51 +03:00
parent 26d1577f39
commit 4a27fb7e83

View File

@@ -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);
}
}
}