From: ouv Date: Wed, 21 Dec 2005 10:51:48 +0000 (+0000) Subject: Fixed bug GVIEW10863 : Changing of radius of Spherical Segmentation cursor in dialog... X-Git-Tag: TG-D5-38-2003_D2005-29-12~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2b759fbc2e2e52b8725b3312510b6bdaa1bc7f4e;p=modules%2Fvisu.git Fixed bug GVIEW10863 : Changing of radius of Spherical Segmentation cursor in dialog box ?Segmentation Cursor? doesn?t influence on number and location of selected points in Main and Second Viewers. --- diff --git a/src/PIPELINE/VISU_SphereWidget.cxx b/src/PIPELINE/VISU_SphereWidget.cxx index 3faa5e1a..2134aeb7 100755 --- a/src/PIPELINE/VISU_SphereWidget.cxx +++ b/src/PIPELINE/VISU_SphereWidget.cxx @@ -132,6 +132,7 @@ void VISU_SphereWidget::SetRadius(float theRadius) theRadius = myRmin; } mySphereSource->SetRadius(theRadius); + mySphere->SetRadius(theRadius); } //==================================================================== // function: GetRadius @@ -148,6 +149,7 @@ float VISU_SphereWidget::GetRadius() void VISU_SphereWidget::SetCenter(float theCenter[3]) { mySphereSource->SetCenter(theCenter); + mySphere->SetCenter(theCenter); } //==================================================================== // function: SetCenter