Ver código fonte

Update time logging.

Former-commit-id: 89a4b8686f3c329b7aaafe4863a725320f38ae6e
Qingnan Zhou 9 anos atrás
pai
commit
46c8e58014
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      include/igl/copyleft/cgal/SelfIntersectMesh.h

+ 4 - 1
include/igl/copyleft/cgal/SelfIntersectMesh.h

@@ -393,10 +393,13 @@ inline igl::copyleft::cgal::SelfIntersectMesh<
     }
     // Otherwise just fall through
   }
-  process_intersecting_boxes();
 #ifdef IGL_SELFINTERSECTMESH_DEBUG
   log_time("box_intersection_d");
 #endif
+  process_intersecting_boxes();
+#ifdef IGL_SELFINTERSECTMESH_DEBUG
+  log_time("resolve_intersection");
+#endif
 
   // Convert lIF to Eigen matrix
   assert(lIF.size()%2 == 0);