mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
still perform passed in ival during transition even if no-loading-screen is True
This commit is contained in:
parent
6de182f3bf
commit
6bcd255ec7
@ -148,15 +148,16 @@ class Transitions:
|
||||
fadeIn or call noFade.
|
||||
lerp
|
||||
"""
|
||||
if base.config.GetBool('no-loading-screen',0):
|
||||
return
|
||||
|
||||
if (t == 0):
|
||||
# Fade out immediately with no lerp
|
||||
self.noTransitions()
|
||||
self.loadFade()
|
||||
self.fade.reparentTo(render2d, FADE_SORT_INDEX)
|
||||
self.fade.setColor(self.alphaOn)
|
||||
elif base.config.GetBool('no-loading-screen',0):
|
||||
self.transitionIval = finishIval
|
||||
if self.transitionIval:
|
||||
self.transitionIval.start()
|
||||
else:
|
||||
# Create a sequence that lerps the color out, then
|
||||
# parents the fade to hidden
|
||||
|
Loading…
x
Reference in New Issue
Block a user