From 2b759fbc2e2e52b8725b3312510b6bdaa1bc7f4e Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 21 Dec 2005 10:51:48 +0000 Subject: [PATCH] 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. --- src/PIPELINE/VISU_SphereWidget.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2