]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
PROJECT: POST-PROCESSOR 2005 V2_2_0_VISU_improvement_2005-05-27
authorapo <apo@opencascade.com>
Wed, 25 May 2005 09:17:36 +0000 (09:17 +0000)
committerapo <apo@opencascade.com>
Wed, 25 May 2005 09:17:36 +0000 (09:17 +0000)
TASK: T 1.5 Implementation of graduated rules in SALOME VTK viewer
First step on fix for [Bug IPAL8910] T1.5: Graduated scale isn't moved after translate a presentation on Y

src/VISUGUI/VisuGUI_OffsetDlg.cxx

index 6914dfe0889f1656ee7baa1a8aae685e4941208c..4ab146f7fb120c6b12c83ce17393742b4f1b0837 100644 (file)
@@ -144,6 +144,7 @@ void VisuGUI_OffsetDlg::updateOffset()
     if(QAD_StudyFrame* aFrame = VisuGUI::GetActiveStudy()->getStudyFrame(i)){
       QAD_ViewFrame* aVFrame = aFrame->getRightFrame()->getViewFrame();
       if(VTKViewer_ViewFrame* aViewFrame = dynamic_cast<VTKViewer_ViewFrame*>(aVFrame)) {
+       aViewFrame->onAdjustTrihedron();
        if(VISU_Actor* anActor = VisuGUI::GetActor(myPrs,aViewFrame)) {
          anActor->SetPosition(aOffset);
          aViewFrame->getRenderer()->ResetCameraClippingRange();