mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 20:53:50 -04:00
Enabled widget lerpScale with fScaleWidgetByCam is on
This commit is contained in:
parent
21c61f82c6
commit
8bbe2f6376
@ -479,6 +479,7 @@ class DirectSession(DirectObject):
|
||||
taskMgr.remove('DIRECTWidgetResize')
|
||||
|
||||
def widgetResizeTask(self, state):
|
||||
if not taskMgr.hasTaskNamed('resizeObjectHandles'):
|
||||
dnp = self.selected.last
|
||||
if dnp:
|
||||
nodeCamDist = Vec3(dnp.getPos(direct.camera)).length()
|
||||
|
Loading…
x
Reference in New Issue
Block a user