mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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.
|
||||
lerp
|
||||
"""
|
||||
if base.config.GetBool('no-loading-screen',0):
|
||||
return
|
||||
|
||||
if (t == 0):
|
||||
# Fade out immediately with no lerp
|
||||
self.noTransitions()
|
||||
|
Loading…
x
Reference in New Issue
Block a user