From: ouv Date: Tue, 18 Oct 2005 12:32:09 +0000 (+0000) Subject: PreHighlight() method corrected X-Git-Tag: TG-D5-38-2003_D2005-20-12~143 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cab0741c14768790f0d31a5f47f8008e33e6c25c;p=modules%2Fvisu.git PreHighlight() method corrected --- diff --git a/src/OBJECT/VISU_GaussPtsAct.cxx b/src/OBJECT/VISU_GaussPtsAct.cxx index edb96a15..4d7c1eff 100644 --- a/src/OBJECT/VISU_GaussPtsAct.cxx +++ b/src/OBJECT/VISU_GaussPtsAct.cxx @@ -486,7 +486,7 @@ bool VISU_GaussPtsAct::PreHighlight(SVTK_Selector* theSelector, theIsHighlight); myPreHighlightActor->SetVisibility(false); - + bool anIsSelectionModeChanged = (theSelectionEvent->mySelectionMode != mySelectionMode); if(!anIsSelectionModeChanged && mySelectionMode == ActorSelection) return false; @@ -521,7 +521,7 @@ bool VISU_GaussPtsAct::PreHighlight(SVTK_Selector* theSelector, myCursorPyramid->Init(aPyramidHeight, aRadius, aNodeCoord, - myHighlightActor->GetProperty()->GetColor()); + myPreHighlightActor->GetProperty()->GetColor()); } myLastObjPointID = anObjId; }