]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
[Bug IPAL15904] Selection of a Gauss Point should change center of rotation of the...
authorapo <apo@opencascade.com>
Fri, 11 May 2007 10:40:48 +0000 (10:40 +0000)
committerapo <apo@opencascade.com>
Fri, 11 May 2007 10:40:48 +0000 (10:40 +0000)
src/OBJECT/VISU_GaussPtsAct.cxx

index ac8ca23961befa6ce8a222d79f576e2901a005c2..1941fec31b9798f4f6e021e1e7203a07269fb537 100644 (file)
@@ -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,