mirror of https://github.com/CGAL/cgal
clean weighted vs nonweighted
This commit is contained in:
parent
bbd19d8a16
commit
6cdcb5d22e
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue