diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-19 13:39:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 13:39:50 +0100 |
commit | 13303dd56d11248681a204b92849558a20a7846e (patch) | |
tree | 904e5fffc4cf569d4186d62d98522726e3bf4fde | |
parent | b4aba4796991b0aed0eff3d54ae9e2e47866822f (diff) | |
parent | a82d231e062552f115f63f54bdef8d821e08401d (diff) |
Merge pull request #46216 from Chaosus/fix_scenetree_timeout
Fix connecting signal to `SceneTreeEditor::update_timer`
-rw-r--r-- | editor/scene_tree_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp index b9a3e2a801..75ec360e21 100644 --- a/editor/scene_tree_editor.cpp +++ b/editor/scene_tree_editor.cpp @@ -1194,7 +1194,7 @@ SceneTreeEditor::SceneTreeEditor(bool p_label, bool p_can_rename, bool p_can_ope blocked = 0; update_timer = memnew(Timer); - update_timer->connect("timeout", callable_mp(this, &SceneTreeEditor::_update_tree)); + update_timer->connect("timeout", callable_mp(this, &SceneTreeEditor::_update_tree), varray(false)); update_timer->set_one_shot(true); update_timer->set_wait_time(0.5); add_child(update_timer); |