Removes editor_hint from SceneTree

This commit is contained in:
Ignacio Etcheverry
2017-08-19 01:02:56 +02:00
parent fd69604bd9
commit 90b8a5b71e
47 changed files with 135 additions and 114 deletions
@@ -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());
};
};