Skip to content

Commit b507c88

Browse files
darktohkardb
authored andcommitted
directtools: Fix empty scaling node of object handle
Closes panda3d#1029
1 parent 0e70fcf commit b507c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

direct/src/directtools/DirectManipulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ def __init__(self, name='objectHandles'):
10661066
# Load up object handles model and assign it to self
10671067
self.assign(loader.loadModel('models/misc/objectHandles'))
10681068
self.setName(name)
1069-
self.scalingNode = NodePath(self)
1069+
self.scalingNode = self.getChild(0)
10701070
self.scalingNode.setName('ohScalingNode')
10711071
self.ohScalingFactor = 1.0
10721072
self.directScalingFactor = 1.0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy