forked from bartvdbraak/blender
a659d73b1d
Also added a patchset for Carve's memory leak fix.
12 lines
462 B
Diff
12 lines
462 B
Diff
diff -r e82d852e4fb0 include/carve/csg_triangulator.hpp
|
|
--- a/include/carve/csg_triangulator.hpp Wed Jan 15 13:16:14 2014 +1100
|
|
+++ b/include/carve/csg_triangulator.hpp Wed Mar 05 14:43:56 2014 +0600
|
|
@@ -426,6 +426,7 @@
|
|
findPerimeter(grp_tris, vloop, grp_perim);
|
|
out_faces.push_back(face->create(grp_perim.begin(), grp_perim.end(), false));
|
|
}
|
|
+ delete face;
|
|
}
|
|
std::swap(faces, out_faces);
|
|
}
|