From: apo Date: Fri, 11 May 2007 10:40:48 +0000 (+0000) Subject: [Bug IPAL15904] Selection of a Gauss Point should change center of rotation of the... X-Git-Tag: mergeto_BR_Dev_For_4_0_22May07~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8f4ad53fa84a090c2fe096d17f439a119f4054a5;p=modules%2Fvisu.git [Bug IPAL15904] Selection of a Gauss Point should change center of rotation of the 3D view (regression) --- diff --git a/src/OBJECT/VISU_GaussPtsAct.cxx b/src/OBJECT/VISU_GaussPtsAct.cxx index ac8ca239..1941fec3 100644 --- a/src/OBJECT/VISU_GaussPtsAct.cxx +++ b/src/OBJECT/VISU_GaussPtsAct.cxx @@ -821,11 +821,13 @@ VISU_GaussPtsAct anInteractor->SetDolly(0.); anInteractor->SetNumberOfFlyFrames(myPickingSettings->GetStepNumber()); - anInteractor->FlyTo(aRenderer,aNodeCoord); + anInteractor->FlyTo(aRenderer, aNodeCoord); aRenderer->ResetCameraClippingRange(); anInteractor->SetDolly(aDollyWas); anInteractor->SetNumberOfFlyFrames(aNumberOfFlyFramesWas); + anInteractor->InvokeEvent(SVTK::ChangeRotationPoint, aNodeCoord); + mySelectionMode = aSelectionMode; ChangeZoom(myPickingSettings,