[MOAB-dev] r5361 - MOAB/trunk/tools

iulian at mcs.anl.gov iulian at mcs.anl.gov
Wed Feb 1 09:05:53 CST 2012


Author: iulian
Date: 2012-02-01 09:05:48 -0600 (Wed, 01 Feb 2012)
New Revision: 5361

Modified:
   MOAB/trunk/tools/skin.cpp
Log:
bug when writing just the skin mesh.
we were deleting the freshly created skin set.


Modified: MOAB/trunk/tools/skin.cpp
===================================================================
--- MOAB/trunk/tools/skin.cpp	2012-01-31 22:34:22 UTC (rev 5360)
+++ MOAB/trunk/tools/skin.cpp	2012-02-01 15:05:48 UTC (rev 5361)
@@ -366,12 +366,6 @@
     result = iface->add_entities(skin_set, reverse_lower);
     if (MB_SUCCESS != result) return 1;
 
-    Range this_range, ent_range;
-    result = iface->get_entities_by_type_and_tag(0, MBENTITYSET, &matset_tag,
-                                                  NULL, 0, this_range);
-    if (MB_SUCCESS != result) return 1;
-    if (!this_range.empty()) iface->delete_entities(this_range);
-
     int dum = 10000;
     result = iface->tag_set_data(matset_tag, &skin_set, 1, &dum);
     if (MB_SUCCESS != result) return 1;




































More information about the moab-dev mailing list