mirror of https://github.com/vitalif/openscad
#1221 Always quantize vertices when converting from PolySet to Nef polyhedron
parent
b7617fd82f
commit
bf3df9a81a
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue