From 1f14c3189d8e6e4a2fd31b93d7188bc95b79e8f8 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 25 May 2005 09:17:36 +0000 Subject: [PATCH] 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 --- src/VISUGUI/VisuGUI_OffsetDlg.cxx | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.39.2