mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Let scene replacemnent benefit from certain late pieces of frame logic
This commit is contained in:
parent
c2f8fb3015
commit
8bebabda18
@ -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);
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user