Skip to content

Commit

Permalink
Let scene replacemnent benefit from certain late pieces of frame logic
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomShaper committed Nov 21, 2023
1 parent c2f8fb3 commit 8bebabd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scene/main/scene_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,10 @@ bool SceneTree::process(double p_time) {

_flush_delete_queue();

if (unlikely(pending_new_scene)) {
_flush_scene_change();
}

process_timers(p_time, false); //go through timers

process_tweens(p_time, false);
Expand Down Expand Up @@ -550,10 +554,6 @@ bool SceneTree::process(double p_time) {
#endif // _3D_DISABLED
#endif // TOOLS_ENABLED

if (unlikely(pending_new_scene)) {
_flush_scene_change();
}

return _quit;
}

Expand Down

0 comments on commit 8bebabd

Please sign in to comment.