From: apo Date: Fri, 20 May 2005 04:32:23 +0000 (+0000) Subject: PROJECT: POST-PROCESSOR 2005 X-Git-Tag: V2_2_0_VISU_improvement_2005-05-27~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e6f13b80bae82ebd123dd6485d0bdc832fabfd16;p=modules%2Fkernel.git PROJECT: POST-PROCESSOR 2005 TASK: T 1.5 4.5.1.Implementation of graduated rules in SALOME VTK viewer Set scallinc for CubeAxes Actor to 0 To make look of the introduced "graduated rules" pretty --- diff --git a/src/VTKViewer/VTKViewer_ViewFrame.cxx b/src/VTKViewer/VTKViewer_ViewFrame.cxx index 2bac8e16a..1385ca433 100644 --- a/src/VTKViewer/VTKViewer_ViewFrame.cxx +++ b/src/VTKViewer/VTKViewer_ViewFrame.cxx @@ -150,7 +150,7 @@ void VTKViewer_ViewFrame::InitialSetup() { m_CubeAxes->SetAxisLabelTextProperty(tprop); m_CubeAxes->SetCornerOffset(0.0); m_CubeAxes->SetScaling(0); - m_CubeAxes->SetNumberOfLabels(10); + m_CubeAxes->SetNumberOfLabels(5); tprop->Delete(); setCentralWidget( m_RW );