From 6cdcb5d22e18f0262dcacf932ee4793ea73b7b4b Mon Sep 17 00:00:00 2001 From: Daniel Russel Date: Thu, 8 Mar 2007 18:18:42 +0000 Subject: [PATCH] clean weighted vs nonweighted --- .../include/SoQt_moving_weighted_points_3.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Kinetic_data_structures/demo/Kinetic_data_structures/include/SoQt_moving_weighted_points_3.h b/Kinetic_data_structures/demo/Kinetic_data_structures/include/SoQt_moving_weighted_points_3.h index 5d564ae2361..5e15eb67be9 100644 --- a/Kinetic_data_structures/demo/Kinetic_data_structures/include/SoQt_moving_weighted_points_3.h +++ b/Kinetic_data_structures/demo/Kinetic_data_structures/include/SoQt_moving_weighted_points_3.h @@ -301,8 +301,9 @@ void SoQt_moving_weighted_points_3::update_coordinates() CGAL_assertion(n->isOfType(SoShapeKit::getClassTypeId())); SoShapeKit *sh= reinterpret_cast(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); }