Merge pull request #10319 from neikeq/pr-engine-editor-hint
Adds Engine::is_editor_hint() method
This commit is contained in:
commit
541fdffc0a
52 changed files with 167 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());
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue