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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri Jan 22 09:31:07 CST 2010


Author: kraftche
Date: 2010-01-22 09:31:07 -0600 (Fri, 22 Jan 2010)
New Revision: 3466

Modified:
   cgm/trunk/init/InitCGMA.cpp
Log:
if facet engine is selected as default, enable experimental modification of facet-based geometry

Modified: cgm/trunk/init/InitCGMA.cpp
===================================================================
--- cgm/trunk/init/InitCGMA.cpp	2010-01-22 15:22:32 UTC (rev 3465)
+++ cgm/trunk/init/InitCGMA.cpp	2010-01-22 15:31:07 UTC (rev 3466)
@@ -105,8 +105,10 @@
   FacetModifyEngine::instance();
   VirtualQueryEngine::instance()->register_attributes();
 
-  if (default_engine_name && streq_nocase("FACET",default_engine_name))
+  if (default_engine_name && streq_nocase("FACET",default_engine_name)) {
     default_engine = FacetModifyEngine::instance();
+    FacetModifyEngine::instance()->set_modify_enabled(CUBIT_TRUE);
+  }
 
   if(default_engine_name && !ignore_default) {
     if (!default_engine) {



More information about the cgma-dev mailing list