From a710327ccc3d22675b7718e05a1f28d63b5d3454 Mon Sep 17 00:00:00 2001 From: Milan Davidovic Date: Sun, 25 Jun 2023 15:44:16 +0200 Subject: [PATCH] Fixed GPUParticles2D preprocessing bug when awaiting on timer before switching to a scene containing the particles. --- scene/main/scene_tree.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 6eec6b83713c..97692040524b 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -519,6 +519,7 @@ bool SceneTree::process(double p_time) { process_tweens(p_time, false); + MessageQueue::get_singleton()->flush(); //small little hack flush_transform_notifications(); //additional transforms after timers update _call_idle_callbacks();