Eliminated selection on just mouse up, requires matching mouse down event, for bad interaction with direct gui

This commit is contained in:
Mark Mine 2005-04-25 22:28:41 +00:00
parent f0e276fadd
commit d8330fc4f1

View File

@ -102,8 +102,9 @@ class DirectManipulationControl(PandaObject):
direct.select(entry.getIntoNodePath(), direct.fShift) direct.select(entry.getIntoNodePath(), direct.fShift)
else: else:
direct.deselectAll() direct.deselectAll()
else: elif self.mode == 'move':
self.manipulateObjectCleanup() self.manipulateObjectCleanup()
self.mode = None
def manipulateObjectCleanup(self): def manipulateObjectCleanup(self):
if self.fScaling: if self.fScaling: