summaryrefslogtreecommitdiff
path: root/editor/scene_tree_editor.cpp
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2021-02-19 14:42:47 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2021-02-19 14:58:18 +0300
commita82d231e062552f115f63f54bdef8d821e08401d (patch)
tree3a93ca50bb237236abae1f54af5caf4a4534a442 /editor/scene_tree_editor.cpp
parent81fc37b1ff98935eb36f52ffaba18659827816b4 (diff)
Fix `SceneTreeEditor::update_timer` - timeout signal
Diffstat (limited to 'editor/scene_tree_editor.cpp')
-rw-r--r--editor/scene_tree_editor.cpp2
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);