diff --git a/direct/src/showbase/ShadowPlacer.py b/direct/src/showbase/ShadowPlacer.py index 36d9cb5c70..e12364f50d 100755 --- a/direct/src/showbase/ShadowPlacer.py +++ b/direct/src/showbase/ShadowPlacer.py @@ -19,18 +19,18 @@ class ShadowPlacer(DirectObject.DirectObject): activeCount = 0 # special methods - def __init__(self, cTrav, shadowNodePath, + def __init__(self, cTrav, shadowNodePath, wallCollideMask, floorCollideMask): self.isActive = 0 # Is the placer "on". This is also printed in the debugCall. assert self.notify.debugCall() DirectObject.DirectObject.__init__(self) - self.setup(cTrav, shadowNodePath, + self.setup(cTrav, shadowNodePath, wallCollideMask, floorCollideMask) if __debug__: self.count += 1 self.debugDisplay() - def setup(self, cTrav, shadowNodePath, + def setup(self, cTrav, shadowNodePath, wallCollideMask, floorCollideMask): """ Set up the collisions