From 8335c5778cd4dd9d1695c880780146cb8030ce9d Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 24 Dec 2008 18:42:10 +0000 Subject: [PATCH] getInitialValue() -> getDefaultValue() --- direct/src/actor/Actor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/actor/Actor.py b/direct/src/actor/Actor.py index 0156b6ef2a..9143f638a5 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -1244,7 +1244,7 @@ class Actor(DirectObject, NodePath): if joint == None: Actor.notify.warning("no joint named %s!" % (jointName)) return None - return joint.getInitialValue() + return joint.getDefaultValue() def controlJoint(self, node, partName, jointName, lodName="lodRoot"): @@ -1271,7 +1271,7 @@ class Actor(DirectObject, NodePath): node = self.attachNewNode(ModelNode(jointName)) joint = bundle.findChild(jointName) if joint and isinstance(joint, MovingPartMatrix): - node.setMat(joint.getInitialValue()) + node.setMat(joint.getDefaultValue()) if bundle.controlJoint(jointName, node.node()): anyGood = True