From: apo Date: Wed, 25 May 2005 09:17:36 +0000 (+0000) Subject: PROJECT: POST-PROCESSOR 2005 X-Git-Tag: V2_2_0_VISU_improvement_2005-05-27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1f14c3189d8e6e4a2fd31b93d7188bc95b79e8f8;p=modules%2Fvisu.git PROJECT: POST-PROCESSOR 2005 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 --- diff --git a/src/VISUGUI/VisuGUI_OffsetDlg.cxx b/src/VISUGUI/VisuGUI_OffsetDlg.cxx index 6914dfe0..4ab146f7 100644 --- a/src/VISUGUI/VisuGUI_OffsetDlg.cxx +++ b/src/VISUGUI/VisuGUI_OffsetDlg.cxx @@ -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(aVFrame)) { + aViewFrame->onAdjustTrihedron(); if(VISU_Actor* anActor = VisuGUI::GetActor(myPrs,aViewFrame)) { anActor->SetPosition(aOffset); aViewFrame->getRenderer()->ResetCameraClippingRange();