summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-10-01 06:54:09 +0200
committerGitHub <noreply@github.com>2019-10-01 06:54:09 +0200
commit7e3dcf54ea209affff0855c080686a59a2ccc70f (patch)
treedc57b4cdf859d002b5fb1bc0de7a6dc3ae40bc86
parentc11ccb7e6eb337b72050c283507c5493c562e37a (diff)
parentc6b82f108ad4deb1a1fc87eea905650127dd686d (diff)
Merge pull request #30919 from nekomatata/timer-update-transform-fix
Fix GPU particle transform delay when created on SceneTree timer timeout
-rw-r--r--scene/main/scene_tree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index 0465c9305b..3ee21ce38b 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -561,6 +561,8 @@ bool SceneTree::idle(float p_time) {
E = N;
}
+ flush_transform_notifications(); //additional transforms after timers update
+
_call_idle_callbacks();
#ifdef TOOLS_ENABLED