bugfix: Attempted to assign temporary variable to a const&, broke in debug mode. Fixes #980

master
Marius Kintel 2014-10-13 15:13:17 -04:00
parent c577c7e501
commit 1ab34dc9d0
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ namespace PolysetUtils {
for (fit=cdt.finite_faces_begin(); fit!=cdt.finite_faces_end(); fit++) {
PolySet::Polygon pgon;
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()));
}
triangles.push_back(pgon);