[MOAB-dev] r4244 - MOAB/trunk/src/io

tautges at mcs.anl.gov tautges at mcs.anl.gov
Mon Nov 1 18:13:34 CDT 2010


Author: tautges
Date: 2010-11-01 18:13:34 -0500 (Mon, 01 Nov 2010)
New Revision: 4244

Modified:
   MOAB/trunk/src/io/Tqdcfr.cpp
Log:
Fixing reading of group names, was using group index whereas metadata entries were
indexed by group id.




Modified: MOAB/trunk/src/io/Tqdcfr.cpp
===================================================================
--- MOAB/trunk/src/io/Tqdcfr.cpp	2010-11-01 23:00:23 UTC (rev 4243)
+++ MOAB/trunk/src/io/Tqdcfr.cpp	2010-11-01 23:13:34 UTC (rev 4244)
@@ -991,7 +991,7 @@
   if (MB_SUCCESS != result) return result;
   
     // now get group names, if any
-  int md_index = model->groupMD.get_md_entry(group_index, "NAME");
+  int md_index = model->groupMD.get_md_entry(grouph->grpID, "NAME");
   if (-1 != md_index) {
     MetaDataContainer::MetaDataEntry *md_entry = &(model->groupMD.metadataEntries[md_index]);
     if (0 == entityNameTag) {








































More information about the moab-dev mailing list