[3.2] Fix SceneTreeEditor::update_timer - timeout signal

This commit is contained in:
Yuri Roubinsky 2021-02-19 14:39:53 +03:00
parent 3541d13095
commit d5cb968b81

View file

@ -1228,7 +1228,7 @@ SceneTreeEditor::SceneTreeEditor(bool p_label, bool p_can_rename, bool p_can_ope
blocked = 0; blocked = 0;
update_timer = memnew(Timer); update_timer = memnew(Timer);
update_timer->connect("timeout", this, "_update_tree"); update_timer->connect("timeout", this, "_update_tree", varray(false));
update_timer->set_one_shot(true); update_timer->set_one_shot(true);
update_timer->set_wait_time(0.5); update_timer->set_wait_time(0.5);
add_child(update_timer); add_child(update_timer);