From: ouv Date: Fri, 14 Oct 2005 08:21:07 +0000 (+0000) Subject: Fixed bug GVIEW10285 : Both button ?M? and ?m? increase presentation of points in... X-Git-Tag: TG-D5-38-2003_D2005-20-12~164 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=06e35e31b45385b81e5caded6c9495de206583fa;p=modules%2Fvisu.git Fixed bug GVIEW10285 : Both button ?M? and ?m? increase presentation of points in 3D Main viewer --- 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;