Merge pull request #94162 from anniryynanen/sprite-frames-crash

Fix edited node being removed before editor plugin handles focus loss
This commit is contained in:
Rémi Verschelde 2024-07-11 00:27:47 +02:00
commit 685413a948
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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