From: ouv Date: Wed, 18 Nov 2009 11:42:52 +0000 (+0000) Subject: Bug IPAL21481 - Empty information window X-Git-Tag: V5_1_main_20091123~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=507457be6c18236a5695fcf418ea98578c1259e2;p=modules%2Fvisu.git Bug IPAL21481 - Empty information window --- diff --git a/src/OBJECT/VISU_Actor.cxx b/src/OBJECT/VISU_Actor.cxx index 959fce3d..20a5a842 100644 --- a/src/OBJECT/VISU_Actor.cxx +++ b/src/OBJECT/VISU_Actor.cxx @@ -771,12 +771,11 @@ VISU_Actor { if( mySelectionMode == ActorSelection ) ResetTextActor(); - else - aShowTextActor = false; myLastSelectionMode = mySelectionMode; } - myTextActor->SetVisibility( GetVisibility() && theIsHighlight && aShowTextActor ); + myTextActor->SetVisibility( GetVisibility() && theIsHighlight && aShowTextActor && + ( mySelectionMode == ActorSelection || isSubElementsHighlighted() ) ); bool anInitialHasIndex = isHighlighted(); bool aCurrentHasIndex = theIsHighlight;