mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
adding 'no-loading-screen' config variable
This commit is contained in:
parent
b793922c74
commit
a64d687c52
@ -148,6 +148,9 @@ class Transitions:
|
|||||||
fadeIn or call noFade.
|
fadeIn or call noFade.
|
||||||
lerp
|
lerp
|
||||||
"""
|
"""
|
||||||
|
if base.config.GetBool('no-loading-screen',0):
|
||||||
|
return
|
||||||
|
|
||||||
if (t == 0):
|
if (t == 0):
|
||||||
# Fade out immediately with no lerp
|
# Fade out immediately with no lerp
|
||||||
self.noTransitions()
|
self.noTransitions()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user