From efdb37de6af34d6a6242f474aaef04cbe96e9e72 Mon Sep 17 00:00:00 2001 From: akl Date: Fri, 6 Mar 2009 14:08:21 +0000 Subject: [PATCH] Fix of 'b' problem described in 0019932 issue (see comment 0004258): alone scalar bar without presentation is appeared at changing selection after hiding of the presentation. --- src/VISUGUI/VisuGUI_Sweep.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VISUGUI/VisuGUI_Sweep.cxx b/src/VISUGUI/VisuGUI_Sweep.cxx index 309e0c09..b8870ce6 100644 --- a/src/VISUGUI/VisuGUI_Sweep.cxx +++ b/src/VISUGUI/VisuGUI_Sweep.cxx @@ -345,13 +345,13 @@ void VisuGUI_Sweep::onSelectionChanged() VISU::ColoredPrs3d_i* aColoredPrs3d = dynamic_cast< VISU::ColoredPrs3d_i* >( aPrs3d ); anIsValidSelection &= ( aColoredPrs3d && aColoredPrs3d->IsTimeStampFixed() ); + myColoredPrs3d = aColoredPrs3d; + if ( myColoredPrs3d ) { myColoredPrs3d->SetMapScale( 1.0 ); myColoredPrs3d->UpdateActors(); } - myColoredPrs3d = aColoredPrs3d; - anIsValidSelection &= ( anActor && anActor->GetVisibility() ); myActor = anActor; -- 2.39.2