[cgma-dev] r4187 - cgm/trunk/init

iulian at mcs.anl.gov iulian at mcs.anl.gov
Fri Oct 1 16:07:14 CDT 2010


Author: iulian
Date: 2010-10-01 16:07:14 -0500 (Fri, 01 Oct 2010)
New Revision: 4187

Modified:
   cgm/trunk/init/InitCGMA.cpp
Log:
de-initialize correctly
otherwise, in an iGeom experiment, when CGM reader from moab is involved,
the iGeom dtor is not correct; in a subsequent iGeom_new, iGeom_load, the
InitCGMA::init will skip initialization, leading to failure of the 
reader.


Modified: cgm/trunk/init/InitCGMA.cpp
===================================================================
--- cgm/trunk/init/InitCGMA.cpp	2010-09-30 19:50:54 UTC (rev 4186)
+++ cgm/trunk/init/InitCGMA.cpp	2010-10-01 21:07:14 UTC (rev 4187)
@@ -137,6 +137,7 @@
 CubitStatus InitCGMA::deinitialize_cgma() 
 {
   CGMApp::instance()->shutdown();
+  has_been_initialized = false;
   return CUBIT_SUCCESS;
 }
 









































More information about the cgma-dev mailing list