mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
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…
x
Reference in New Issue
Block a user