From 98000eaac010f73d2b1cee32849d975bf0d15e0f Mon Sep 17 00:00:00 2001 From: Chris Brunner Date: Tue, 3 Sep 2013 22:44:40 +0000 Subject: [PATCH] Fix for something that shouldn't have worked at all in the first place --- direct/src/directtools/DirectManipulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/directtools/DirectManipulation.py b/direct/src/directtools/DirectManipulation.py index 69667d7378..36c2efc989 100644 --- a/direct/src/directtools/DirectManipulation.py +++ b/direct/src/directtools/DirectManipulation.py @@ -1067,7 +1067,7 @@ class ObjectHandles(NodePath, DirectObject): # Load up object handles model and assign it to self self.assign(loader.loadModel('models/misc/objectHandles')) self.setName(name) - self.scalingNode = self.getChild(0) + self.scalingNode = NodePath(self) self.scalingNode.setName('ohScalingNode') self.ohScalingFactor = 1.0 self.directScalingFactor = 1.0