Browse Source

*** empty log message ***

Dave Schuyler 22 năm trước cách đây
mục cha
commit
2292497923
2 tập tin đã thay đổi với 5 bổ sung4 xóa
  1. 5 3
      direct/src/actor/Actor.py
  2. 0 1
      direct/src/showbase/ShadowPlacer.py

+ 5 - 3
direct/src/actor/Actor.py

@@ -325,13 +325,15 @@ class Actor(PandaObject, NodePath):
         return self.__partBundleDict.values()[0].keys()
     
     def getGeomNode(self):
-        """getGeomNode(self)
-        Return the node that contains all actor geometry"""
+        """
+        Return the node that contains all actor geometry
+        """
         return self.__geomNode
 
     def setGeomNode(self, node):
         """
-        Set the node that contains all actor geometry"""
+        Set the node that contains all actor geometry
+        """
         self.__geomNode = node
 
     def getLODNode(self):

+ 0 - 1
direct/src/showbase/ShadowPlacer.py

@@ -62,7 +62,6 @@ class ShadowPlacer(DirectObject.DirectObject):
 
         # set up floor collision mechanism
         self.lifter = CollisionHandlerFloor()
-        #*#self.lifter.setWrtFlag(1)
         #self.lifter.setInPattern("on-floor")
         #self.lifter.setOutPattern("off-floor")
         self.lifter.setOffset(floorOffset)