mirror of https://github.com/vitalif/openscad
bugfix: Attempted to assign temporary variable to a const&, broke in debug mode. Fixes #980
parent
c577c7e501
commit
1ab34dc9d0
|
@ -100,7 +100,7 @@ namespace PolysetUtils {
|
||||||
for (fit=cdt.finite_faces_begin(); fit!=cdt.finite_faces_end(); fit++) {
|
for (fit=cdt.finite_faces_begin(); fit!=cdt.finite_faces_end(); fit++) {
|
||||||
PolySet::Polygon pgon;
|
PolySet::Polygon pgon;
|
||||||
for (int i=0;i<3;i++) {
|
for (int i=0;i<3;i++) {
|
||||||
const K::Point_3 &v = cdt.triangle(fit)[i];
|
K::Point_3 v = cdt.triangle(fit)[i];
|
||||||
pgon.push_back(Vector3d(v.x(), v.y(), v.z()));
|
pgon.push_back(Vector3d(v.x(), v.y(), v.z()));
|
||||||
}
|
}
|
||||||
triangles.push_back(pgon);
|
triangles.push_back(pgon);
|
||||||
|
|
Loading…
Reference in New Issue