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();
|
_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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue