From ec6cda77add079cd0b64985d8301bf9d0dcf65a2 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 14 Oct 2005 14:19:43 +0000 Subject: [PATCH] Fixed Bug GVIEW10286 : Fatal Error after pressing of ?s? button on the keyboard --- src/OBJECT/VISU_GaussPtsAct.cxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/OBJECT/VISU_GaussPtsAct.cxx b/src/OBJECT/VISU_GaussPtsAct.cxx index b31a102d..5646fd4c 100644 --- a/src/OBJECT/VISU_GaussPtsAct.cxx +++ b/src/OBJECT/VISU_GaussPtsAct.cxx @@ -623,11 +623,11 @@ void VISU_GaussPtsAct::highlight(bool theHighlight, Selection_Mode theSelectionMode) { - myTextActor->SetVisibility(theHighlight); - myCursorPyramidSelected->SetVisibility(theHighlight); - myCursorPyramid->SetVisibility(theHighlight); - myCellActor->SetVisibility(theHighlight); - GetScalarBarCtrl()->SetIsMarked(theHighlight); + myTextActor->SetVisibility(0); + myCursorPyramidSelected->SetVisibility(0); + myCursorPyramid->SetVisibility(0); + myCellActor->SetVisibility(0); + GetScalarBarCtrl()->SetIsMarked(false); GetScalarBarCtrl()->Update(); } //================================================================== @@ -637,8 +637,6 @@ VISU_GaussPtsAct::highlight(bool theHighlight, void VISU_GaussPtsAct::highlight(bool theHighlight, SVTK_Selector* theSelector) { - highlight( mySelectionMode != ActorSelection, mySelectionMode ); - TColStd_IndexedMapOfInteger aMapIndex; // theSelector->GetIndex( getIO(), aMapIndex ); @@ -679,7 +677,7 @@ void VISU_GaussPtsAct::highlight(bool theHighlight, aRadius, aNodeCoord, myHighlightProperty.GetPointer()->GetColor()); - //myCursorPyramidSelected->SetVisibility(1); + myCursorPyramidSelected->SetVisibility(1); // const VISU::PGaussPtsIDMapper& aGaussPtsIDMapper = myGaussPointsPL->GetGaussPtsIDMapper(); -- 2.39.2