From cab0741c14768790f0d31a5f47f8008e33e6c25c Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 18 Oct 2005 12:32:09 +0000 Subject: [PATCH] PreHighlight() method corrected --- src/OBJECT/VISU_GaussPtsAct.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2