]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
PreHighlight() method corrected
authorouv <ouv@opencascade.com>
Tue, 18 Oct 2005 12:32:09 +0000 (12:32 +0000)
committerouv <ouv@opencascade.com>
Tue, 18 Oct 2005 12:32:09 +0000 (12:32 +0000)
src/OBJECT/VISU_GaussPtsAct.cxx

index edb96a155ca0bef0facc414eb874bd4ba161cd53..4d7c1eff7396ac64ae3dfdc2b38d06129925d6e9 100644 (file)
@@ -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;
        }