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

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Thu Apr 19 11:14:17 CDT 2012


Author: janehu
Date: 2012-04-19 11:14:17 -0500 (Thu, 19 Apr 2012)
New Revision: 5487

Modified:
   cgm/branches/merge-cubit13.1/geom/OCC/OCCModifyEngine.cpp
Log:
Change to previous version since this case has been considered in codes above.

Modified: cgm/branches/merge-cubit13.1/geom/OCC/OCCModifyEngine.cpp
===================================================================
--- cgm/branches/merge-cubit13.1/geom/OCC/OCCModifyEngine.cpp	2012-04-19 16:12:14 UTC (rev 5486)
+++ cgm/branches/merge-cubit13.1/geom/OCC/OCCModifyEngine.cpp	2012-04-19 16:14:17 UTC (rev 5487)
@@ -1992,8 +1992,7 @@
         OCCShell* orig_shell = (OCCShell*) (OCCQueryEngine::instance()->OccToCGM->find(k))->second;
         body = orig_shell->my_body();
       }
-      else
-        body = (OCCBody*) (OCCQueryEngine::instance()->OccToCGM->find(k))->second;
+      //Solid and Compound case has been considered in the above cases.
       if(body)
       {
         body->get_simple_attribute(list);







































More information about the cgma-dev mailing list