From: ouv Date: Fri, 14 Oct 2005 14:19:43 +0000 (+0000) Subject: Fixed Bug GVIEW10286 : Fatal Error after pressing of ?s? button on the keyboard X-Git-Tag: TG-D5-38-2003_D2005-20-12~158 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ec6cda77add079cd0b64985d8301bf9d0dcf65a2;p=modules%2Fvisu.git Fixed Bug GVIEW10286 : Fatal Error after pressing of ?s? button on the keyboard --- 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();