From e5df67d504a192e9a19be40932a5b4a231d90d85 Mon Sep 17 00:00:00 2001 From: sln Date: Wed, 25 May 2005 06:23:18 +0000 Subject: [PATCH] PostPro 2005: T1.5: Graduated rules. Initialization of dialog corrected for the case of hidden graduated axes --- src/VISUGUI/VisuGUI_CubeAxesDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2