From: apo Date: Tue, 18 Oct 2005 15:41:31 +0000 (+0000) Subject: To update picking settings X-Git-Tag: TG-D5-38-2003_D2005-20-12~140 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=78f22b32d8be6fcf51f731efc6ddd6cbb88b0bcf;p=modules%2Fvisu.git To update picking settings --- diff --git a/src/OBJECT/VISU_GaussPtsAct.cxx b/src/OBJECT/VISU_GaussPtsAct.cxx index 98620e9f..67eef5ef 100644 --- a/src/OBJECT/VISU_GaussPtsAct.cxx +++ b/src/OBJECT/VISU_GaussPtsAct.cxx @@ -614,7 +614,7 @@ bool VISU_GaussPtsAct::Highlight(vtkInteractorStyle* theInteractorStyle, //================================================================== void VISU_GaussPtsAct -::highlight(bool theIsHighlight) +::Highlight(bool theIsHighlight) { myTextActor->SetVisibility(0); myCursorPyramidSelected->SetVisibility(0); @@ -749,6 +749,8 @@ VISU_GaussPtsAct myCursorPyramid->SetHeight(aHeight); myCursorPyramidSelected->SetHeight(aHeight); // + Highlight(isHighlighted()); + Update(); } diff --git a/src/OBJECT/VISU_GaussPtsAct.h b/src/OBJECT/VISU_GaussPtsAct.h index 64b8c97e..05accb6e 100644 --- a/src/OBJECT/VISU_GaussPtsAct.h +++ b/src/OBJECT/VISU_GaussPtsAct.h @@ -156,7 +156,7 @@ class VTKOCC_EXPORT VISU_GaussPtsAct : public VISU_Actor //---------------------------------------------------------------------------- virtual void - highlight(bool theIsHighlight); + Highlight(bool theIsHighlight); virtual bool