[MOAB-dev] r3372 - MOAB/trunk

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Nov 19 17:08:51 CST 2009


Author: kraftche
Date: 2009-11-19 17:08:51 -0600 (Thu, 19 Nov 2009)
New Revision: 3372

Modified:
   MOAB/trunk/MBSkinner.cpp
Log:
fix bug: reversed skin edges are not detected

Modified: MOAB/trunk/MBSkinner.cpp
===================================================================
--- MOAB/trunk/MBSkinner.cpp	2009-11-18 21:31:22 UTC (rev 3371)
+++ MOAB/trunk/MBSkinner.cpp	2009-11-19 23:08:51 UTC (rev 3372)
@@ -497,7 +497,8 @@
   
   if(they_match == true)
   {
-    direct = FORWARD;
+    // need to check for reversed edges here
+    direct = (num_verts == 2 && j) ? REVERSE : FORWARD;
     return true;
   }
   



More information about the moab-dev mailing list