mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
controlJoints should be model nodes anyway
This commit is contained in:
parent
ffc708a0f1
commit
89a8c9032a
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user