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

jvporter at wisc.edu jvporter at wisc.edu
Wed Jun 8 03:11:29 CDT 2011


Author: jvporter
Date: 2011-06-08 03:11:24 -0500 (Wed, 08 Jun 2011)
New Revision: 4963

Modified:
   MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp
Log:
Set return code on success in iMesh_getTagSizeBytes (this was segfaulting PyTAPS)


Modified: MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp
===================================================================
--- MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp	2011-06-07 22:38:29 UTC (rev 4962)
+++ MOAB/trunk/itaps/imesh/iMesh_MOAB.cpp	2011-06-08 08:11:24 UTC (rev 4963)
@@ -1691,6 +1691,8 @@
   {
     ErrorCode result = MOABI->tag_get_bytes(TAG_HANDLE(tag_handle), *tag_size_bytes);
     CHKERR(result, "iMesh_getTagSize: problem getting size.");
+
+    RETURN(iBase_SUCCESS);
   }
 
   void iMesh_getTagHandle(iMesh_Instance instance,








































More information about the moab-dev mailing list