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:
parent
26d1577f39
commit
4a27fb7e83
|
@ -772,7 +772,6 @@ bool CanvasItemEditor::_select_click_on_item(CanvasItem *item, Point2 p_click_po
|
||||||
// Reselect
|
// Reselect
|
||||||
if (Engine::get_singleton()->is_editor_hint()) {
|
if (Engine::get_singleton()->is_editor_hint()) {
|
||||||
selected_from_canvas = true;
|
selected_from_canvas = true;
|
||||||
EditorNode::get_singleton()->edit_node(item);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue