mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
directtools: Fix use of builtin direct instead of base.direct
This commit is contained in:
parent
65c1ef968c
commit
f7bd54b9ee
@ -548,7 +548,7 @@ class SelectionRay(SelectionQueue):
|
||||
if xy:
|
||||
mx = xy[0]
|
||||
my = xy[1]
|
||||
elif direct:
|
||||
elif base.direct:
|
||||
mx = SEditor.dr.mouseX
|
||||
my = SEditor.dr.mouseY
|
||||
else:
|
||||
|
@ -670,6 +670,8 @@ class DirectSession(DirectObject):
|
||||
if not taskMgr.hasTaskNamed('resizeObjectHandles'):
|
||||
dnp = self.selected.last
|
||||
if dnp:
|
||||
direct = base.direct
|
||||
|
||||
if self.manipulationControl.fMultiView:
|
||||
for i in range(3):
|
||||
sf = 30.0 * direct.drList[i].orthoFactor
|
||||
|
Loading…
x
Reference in New Issue
Block a user