From: sln Date: Wed, 25 May 2005 06:23:18 +0000 (+0000) Subject: PostPro 2005: T1.5: Graduated rules. Initialization of dialog corrected for the case... X-Git-Tag: V2_2_0_VISU_improvement_2005-05-27~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e5df67d504a192e9a19be40932a5b4a231d90d85;p=modules%2Fvisu.git PostPro 2005: T1.5: Graduated rules. Initialization of dialog corrected for the case of hidden graduated axes --- diff --git a/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx b/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx index e2f78432..baefe0cb 100755 --- a/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx @@ -475,7 +475,7 @@ VisuGUI_CubeAxesDlg::~VisuGUI_CubeAxesDlg() bool VisuGUI_CubeAxesDlg::Init() { VTKViewer_ViewFrame* aFrame = VisuGUI::GetVtkViewFrame(); - if ( aFrame == 0 || !aFrame->isCubeAxesDisplayed() ) + if ( aFrame == 0 ) return false; SALOME_CubeAxesActor2D* anActor = aFrame->GetCubeAxes();