Browse Source

adding 'no-loading-screen' config variable

Josh Wilson 18 years ago
parent
commit
a64d687c52
1 changed files with 3 additions and 0 deletions
  1. 3 0
      direct/src/showbase/Transitions.py

+ 3 - 0
direct/src/showbase/Transitions.py

@@ -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()