You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Let scene replacemnent benefit from certain late pieces of frame logic
This commit is contained in:
@@ -515,6 +515,10 @@ bool SceneTree::process(double p_time) {
|
|||||||
|
|
||||||
_flush_delete_queue();
|
_flush_delete_queue();
|
||||||
|
|
||||||
|
if (unlikely(pending_new_scene)) {
|
||||||
|
_flush_scene_change();
|
||||||
|
}
|
||||||
|
|
||||||
process_timers(p_time, false); //go through timers
|
process_timers(p_time, false); //go through timers
|
||||||
|
|
||||||
process_tweens(p_time, false);
|
process_tweens(p_time, false);
|
||||||
@@ -550,10 +554,6 @@ bool SceneTree::process(double p_time) {
|
|||||||
#endif // _3D_DISABLED
|
#endif // _3D_DISABLED
|
||||||
#endif // TOOLS_ENABLED
|
#endif // TOOLS_ENABLED
|
||||||
|
|
||||||
if (unlikely(pending_new_scene)) {
|
|
||||||
_flush_scene_change();
|
|
||||||
}
|
|
||||||
|
|
||||||
return _quit;
|
return _quit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user