Browse Source

controlJoints should be model nodes anyway

Asad M. Zaman 17 years ago
parent
commit
89a8c9032a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/actor/Actor.py

+ 1 - 1
direct/src/actor/Actor.py

@@ -1268,7 +1268,7 @@ class Actor(DirectObject, NodePath):
         for bundleDict in self.__partBundleDict.values():     
             bundle = bundleDict[trueName].getBundle()
             if node == None:
-                node = self.attachNewNode(jointName)
+                node = self.attachNewNode(ModelNode(jointName))
                 joint = bundle.findChild(jointName)
                 if joint and isinstance(joint, MovingPartMatrix):
                     node.setMat(joint.getInitialValue())