From 06e35e31b45385b81e5caded6c9495de206583fa Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 14 Oct 2005 08:21:07 +0000 Subject: [PATCH] Fixed bug GVIEW10285 : Both button ?M? and ?m? increase presentation of points in 3D Main viewer --- src/OBJECT/VISU_GaussPtsAct.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/OBJECT/VISU_GaussPtsAct.cxx b/src/OBJECT/VISU_GaussPtsAct.cxx index 13d127c7..5646fd4c 100644 --- a/src/OBJECT/VISU_GaussPtsAct.cxx +++ b/src/OBJECT/VISU_GaussPtsAct.cxx @@ -433,13 +433,9 @@ VISU_GaussPtsAct switch(theEvent){ case vtkCommand::CharEvent: { switch(myInteractor->GetKeyCode()) { - case 'm' : case 'M' : - myChangeMagnification = true; - break; - case 'n' : - case 'N' : - myChangeMagnification = false; + case 'm' : + myChangeMagnification = myInteractor->GetShiftKey(); break; default: return; -- 2.39.2