[cgma-dev] r5484 - cgm/branches/merge-cubit13.1/geom/OCC

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Wed Apr 18 13:13:08 CDT 2012


Author: janehu
Date: 2012-04-18 13:13:07 -0500 (Wed, 18 Apr 2012)
New Revision: 5484

Modified:
   cgm/branches/merge-cubit13.1/geom/OCC/OCCModifyEngine.cpp
Log:
Added a fix for mcnp2cad/cone.

Modified: cgm/branches/merge-cubit13.1/geom/OCC/OCCModifyEngine.cpp
===================================================================
--- cgm/branches/merge-cubit13.1/geom/OCC/OCCModifyEngine.cpp	2012-04-18 18:07:10 UTC (rev 5483)
+++ cgm/branches/merge-cubit13.1/geom/OCC/OCCModifyEngine.cpp	2012-04-18 18:13:07 UTC (rev 5484)
@@ -1992,6 +1992,8 @@
         OCCShell* orig_shell = (OCCShell*) (OCCQueryEngine::instance()->OccToCGM->find(k))->second;
         body = orig_shell->my_body();
       }
+      else
+        body = (OCCBody*) (OCCQueryEngine::instance()->OccToCGM->find(k))->second;
       if(body)
       {
         body->get_simple_attribute(list);








































More information about the cgma-dev mailing list