Browse Source

setWrapu renamed to setWrapU

David Rose 21 years ago
parent
commit
06161a723f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/showbase/ShadowDemo.py

+ 2 - 2
direct/src/showbase/ShadowDemo.py

@@ -35,8 +35,8 @@ class ShadowCaster:
         self.buffer.setClearColor(clearColor)
         self.buffer.setClearColor(clearColor)
         self.tex = self.buffer.getTexture()
         self.tex = self.buffer.getTexture()
         self.tex.setBorderColor(clearColor)
         self.tex.setBorderColor(clearColor)
-        self.tex.setWrapu(Texture.WMBorderColor)
-        self.tex.setWrapv(Texture.WMBorderColor)
+        self.tex.setWrapU(Texture.WMBorderColor)
+        self.tex.setWrapV(Texture.WMBorderColor)
 
 
         # Set up a display region on this buffer, and create a camera.
         # Set up a display region on this buffer, and create a camera.
         dr = self.buffer.makeDisplayRegion()
         dr = self.buffer.makeDisplayRegion()