Explorar el Código

cgal bug

Former-commit-id: 31625e41878854e72848210b2ea85ef0ac4f2548
Alec Jacobson hace 10 años
padre
commit
d4f31c542c
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      include/igl/cgal/CGAL_includes.hpp

+ 5 - 2
include/igl/cgal/CGAL_includes.hpp

@@ -8,8 +8,11 @@
 #ifndef IGL_CGAL_INCLUDES_H
 #define IGL_CGAL_INCLUDES_H
 
-// http://www.alecjacobson.com/weblog/?p=4291
-#define CGAL_INTERSECTION_VERSION 1
+// This causes unknown bugs during intersection meshing:
+//// http://www.alecjacobson.com/weblog/?p=4291
+//#define CGAL_INTERSECTION_VERSION 1
+// Use this instead to mute errors resulting from bad CGAL assertions
+#define CGAL_KERNEL_NO_ASSERTIONS
 // Triangle triangle intersection
 #include <CGAL/intersections.h>
 // THIS CANNOT BE INCLUDED IN THE SAME FILE AS <CGAL/intersections.h>