[MOAB-dev] r4468 - MOAB/trunk/itaps/imesh

jvporter at wisc.edu jvporter at wisc.edu
Mon Jan 24 14:16:57 CST 2011


Author: jvporter
Date: 2011-01-24 14:16:57 -0600 (Mon, 24 Jan 2011)
New Revision: 4468

Modified:
   MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp
Log:
Fix iMesh_areEHValid


Modified: MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp
===================================================================
--- MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp	2011-01-24 19:39:31 UTC (rev 4467)
+++ MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp	2011-01-24 20:16:57 UTC (rev 4468)
@@ -402,12 +402,7 @@
                          int* areHandlesInvarient, 
                          int* err )
   {
-    MBiMesh* mbi = dynamic_cast<MBiMesh*>(MOABI);
-    if (!mbi) {
-      RETURN(iBase_FAILURE);
-    }
-  
-    *areHandlesInvarient = !mbi->have_deleted_ents( !!doReset );
+    *areHandlesInvarient = !MBIMESHI->have_deleted_ents( !!doReset );
     RETURN(iBase_SUCCESS);
   }
 



































More information about the moab-dev mailing list