Browse Source

default background alpha should be 0

David Rose 21 years ago
parent
commit
f010cd6573
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/ShowBase.py

+ 1 - 1
direct/src/showbase/ShowBase.py

@@ -1241,7 +1241,7 @@ class ShowBase(DirectObject.DirectObject):
 
         return VBase4(win.getClearColor())
 
-    def setBackgroundColor(self, r = None, g = None, b = None, a = 1.0, win = None):
+    def setBackgroundColor(self, r = None, g = None, b = None, a = 0.0, win = None):
         """
         Sets the window background color to the indicated value.
         This assumes the window is set up to clear the color each