From d8330fc4f1a371b8481c3b2c8ea3824f84057d7e Mon Sep 17 00:00:00 2001 From: Mark Mine Date: Mon, 25 Apr 2005 22:28:41 +0000 Subject: [PATCH] Eliminated selection on just mouse up, requires matching mouse down event, for bad interaction with direct gui --- direct/src/directtools/DirectManipulation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/direct/src/directtools/DirectManipulation.py b/direct/src/directtools/DirectManipulation.py index e1f471ccb4..6e56d12f18 100644 --- a/direct/src/directtools/DirectManipulation.py +++ b/direct/src/directtools/DirectManipulation.py @@ -102,8 +102,9 @@ class DirectManipulationControl(PandaObject): direct.select(entry.getIntoNodePath(), direct.fShift) else: direct.deselectAll() - else: + elif self.mode == 'move': self.manipulateObjectCleanup() + self.mode = None def manipulateObjectCleanup(self): if self.fScaling: