clean weighted vs nonweighted

This commit is contained in:
Daniel Russel 2007-03-08 18:18:42 +00:00
parent bbd19d8a16
commit 6cdcb5d22e
1 changed files with 3 additions and 2 deletions

View File

@ -301,8 +301,9 @@ void SoQt_moving_weighted_points_3<T,G>::update_coordinates()
CGAL_assertion(n->isOfType(SoShapeKit::getClassTypeId()));
SoShapeKit *sh= reinterpret_cast<SoShapeKit*>(n);
SoTransform *tr= SO_GET_PART(sh, "localTransform", SoTransform);
tr->translation.setValue(CGAL::to_double(pt.x()), CGAL::to_double(pt.y()),
CGAL::to_double(pt.z()));
tr->translation.setValue(CGAL::to_double(pt.point().x()),
CGAL::to_double(pt.point().y()),
CGAL::to_double(pt.point().z()));
SoSphere *sph= SO_GET_PART(sh, "shape", SoSphere);
sph->radius.setValue(radius);
}