Explorar o código

Merge pull request #46217 from Chaosus/fix_scenetree_timeout_3.2

[3.2] Fix connecting signal to `SceneTreeEditor::update_timer`
Rémi Verschelde %!s(int64=4) %!d(string=hai) anos
pai
achega
b7695f13d2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/scene_tree_editor.cpp

+ 1 - 1
editor/scene_tree_editor.cpp

@@ -1228,7 +1228,7 @@ SceneTreeEditor::SceneTreeEditor(bool p_label, bool p_can_rename, bool p_can_ope
 	blocked = 0;
 
 	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_wait_time(0.5);
 	add_child(update_timer);