From 90b8a5b71ef79e0339826507c4b290f0c51b7cd2 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Sat, 19 Aug 2017 01:02:56 +0200 Subject: Removes editor_hint from SceneTree --- editor/plugins/animation_tree_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/plugins/animation_tree_editor_plugin.cpp') diff --git a/editor/plugins/animation_tree_editor_plugin.cpp b/editor/plugins/animation_tree_editor_plugin.cpp index 156a74144..a4f121750 100644 --- a/editor/plugins/animation_tree_editor_plugin.cpp +++ b/editor/plugins/animation_tree_editor_plugin.cpp @@ -212,7 +212,7 @@ void AnimationTreeEditor::_edit_dialog_animation_changed() { void AnimationTreeEditor::_edit_dialog_edit_animation() { - if (get_tree()->is_editor_hint()) { + if (Engine::get_singleton()->is_editor_hint()) { get_tree()->get_root()->get_child(0)->call("_resource_selected", property_editor->get_variant().operator RefPtr()); }; }; -- cgit v1.2.3-70-g09d2