diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-01 06:54:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 06:54:09 +0200 |
commit | 7e3dcf54ea209affff0855c080686a59a2ccc70f (patch) | |
tree | dc57b4cdf859d002b5fb1bc0de7a6dc3ae40bc86 | |
parent | c11ccb7e6eb337b72050c283507c5493c562e37a (diff) | |
parent | c6b82f108ad4deb1a1fc87eea905650127dd686d (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.cpp | 2 |
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 |