Browse Source

support new layer-ordering interface in panda

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

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

@@ -487,7 +487,7 @@ class ShowBase(DirectObject.DirectObject):
         """
         # First, we need to make a new layer on the window.
         chan = win.getChannel(0)
-        layer = chan.makeLayer()
+        layer = chan.makeLayer(10)
 
         # And make a display region to cover the whole layer.
         dr = layer.makeDisplayRegion()