From 507457be6c18236a5695fcf418ea98578c1259e2 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 18 Nov 2009 11:42:52 +0000 Subject: [PATCH] Bug IPAL21481 - Empty information window --- src/OBJECT/VISU_Actor.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.2