From f2dfeaf64d760e4af968250650b75c85cbfdebea Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 9 Nov 2011 08:21:15 +0000 Subject: [PATCH] Additional fix for the bug 0021254: EDF 1861 VISU: Eye symbol and VISU presentations. --- src/VISU_I/VISU_ColoredPrs3dCache_i.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/VISU_I/VISU_ColoredPrs3dCache_i.cc b/src/VISU_I/VISU_ColoredPrs3dCache_i.cc index 6df8e744..a385a8a0 100644 --- a/src/VISU_I/VISU_ColoredPrs3dCache_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3dCache_i.cc @@ -39,6 +39,7 @@ #include "VISU_Actor.h" #include "VISU_PipeLine.hxx" +#include "VISU_Tools.h" #include "SALOME_Event.h" @@ -712,6 +713,7 @@ VISU::ColoredPrs3dCache_i ProcessVoidEvent(new TAddActorEvent(anActor,aViewWindow)); //aViewWindow->AddActor(anActor); anActor->SetVisibility(true); + SetVisibilityState( aHolderEntry, Qtx::ShownState); } if(aPrs3d != aLastVisitedPrs3d) @@ -728,8 +730,10 @@ VISU::ColoredPrs3dCache_i aNewActor = aPrs3d->CreateActor(); ProcessVoidEvent(new TAddActorEvent(aNewActor,aViewWindow)); //aViewWindow->AddActor(aNewActor); - }else + }else { aNewActor->SetVisibility(true); + SetVisibilityState( aHolderEntry, Qtx::ShownState); + } aNewActor->DeepCopy(anActor); aPrs3d->SetActiveState(true); -- 2.39.2