#1221 Always quantize vertices when converting from PolySet to Nef polyhedron

master
Marius Kintel 2015-02-19 20:59:39 -05:00
parent b7617fd82f
commit bf3df9a81a
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ static CGAL_Nef_polyhedron *createNefPolyhedronFromPolySet(const PolySet &ps)
// NB! CGAL's convex_hull_3() doesn't like std::set iterators, so we use a list
// instead.
std::list<K::Point_3> points;
BOOST_FOREACH(const Polygon &poly, ps.polygons) {
BOOST_FOREACH(const Polygon &poly, psq.polygons) {
BOOST_FOREACH(const Vector3d &p, poly) {
points.push_back(vector_convert<K::Point_3>(p));
}