mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Updated bounding box computation
This commit is contained in:
parent
e637ad6586
commit
57750c0f8a
@ -40,6 +40,7 @@ class DirectManipulationControl(PandaObject):
|
|||||||
self.mode = 'select'
|
self.mode = 'select'
|
||||||
# Check for a widget hit point
|
# Check for a widget hit point
|
||||||
node, hitPt, hitPtDist = direct.iRay.pickWidget()
|
node, hitPt, hitPtDist = direct.iRay.pickWidget()
|
||||||
|
print node, hitPt, hitPtDist
|
||||||
# Did we hit a widget?
|
# Did we hit a widget?
|
||||||
if node:
|
if node:
|
||||||
# Yes!
|
# Yes!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user