You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Merge pull request #10319 from neikeq/pr-engine-editor-hint
Adds Engine::is_editor_hint() method
This commit is contained in:
@@ -561,7 +561,7 @@ bool CanvasItemEditor::_select_click_on_item(CanvasItem *item, Point2 p_click_po
|
||||
editor_selection->clear();
|
||||
editor_selection->add_node(item);
|
||||
// Reselect
|
||||
if (get_tree()->is_editor_hint()) {
|
||||
if (Engine::get_singleton()->is_editor_hint()) {
|
||||
editor->call("edit_node", item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user