[MOAB-dev] r3094 - MOAB/trunk
bmsmith6 at wisc.edu
bmsmith6 at wisc.edu
Thu Aug 6 10:46:11 CDT 2009
Author: bmsmith
Date: 2009-08-06 10:46:10 -0500 (Thu, 06 Aug 2009)
New Revision: 3094
Modified:
MOAB/trunk/ReadCGM.cpp
Log:
Changed default behavior to preserve entity IDs.
Modified: MOAB/trunk/ReadCGM.cpp
===================================================================
--- MOAB/trunk/ReadCGM.cpp 2009-08-04 14:30:45 UTC (rev 3093)
+++ MOAB/trunk/ReadCGM.cpp 2009-08-06 15:46:10 UTC (rev 3094)
@@ -129,7 +129,7 @@
int norm_tol, DEFAULT_NORM = 5;
double faceting_tol, DEFAULT_FACET_TOL = 0.001, len_tol, DEFAULT_LEN_TOL = 0.0;
- bool act_att = false;
+ bool act_att = true;
//check for the options.
if (MB_SUCCESS != opts.get_int_option( "FACET_NORMAL_TOLERANCE", norm_tol ))
norm_tol = DEFAULT_NORM;
@@ -141,9 +141,10 @@
len_tol = DEFAULT_LEN_TOL;
const char* name = "CGM_ATTRIBS";
- const char* value = "yes";
+ const char* value = "no";
+ rval = opts.match_option(name,value);
if(MB_SUCCESS == opts.match_option(name,value))
- act_att = true;
+ act_att = false;
// CGM data
std::map<RefEntity*,MBEntityHandle> entmap[5]; // one for each dim, and one for groups
More information about the moab-dev
mailing list