From 8f4ad53fa84a090c2fe096d17f439a119f4054a5 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 11 May 2007 10:40:48 +0000 Subject: [PATCH] [Bug IPAL15904] Selection of a Gauss Point should change center of rotation of the 3D view (regression) --- src/OBJECT/VISU_GaussPtsAct.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.39.2