Fix for something that shouldn't have worked at all in the first place
This commit is contained in:
parent
aa826304d7
commit
98000eaac0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue