Browse Source

Fix for something that shouldn't have worked at all in the first place

Chris Brunner 12 years ago
parent
commit
98000eaac0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/directtools/DirectManipulation.py

+ 1 - 1
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