From: rnv Date: Wed, 9 Nov 2011 08:21:15 +0000 (+0000) Subject: Additional fix for the bug 0021254: EDF 1861 VISU: Eye symbol and VISU presentations. X-Git-Tag: RELIQUAT_6x_15112011~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f2dfeaf64d760e4af968250650b75c85cbfdebea;p=modules%2Fvisu.git Additional fix for the bug 0021254: EDF 1861 VISU: Eye symbol and VISU presentations. --- 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);