[cgma-dev] r4748 - in cgm/branches/merge-cubit12/geom: . OCC

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Mon Apr 18 12:22:13 CDT 2011


Author: janehu
Date: 2011-04-18 12:22:13 -0500 (Mon, 18 Apr 2011)
New Revision: 4748

Removed:
   cgm/branches/merge-cubit12/geom/OCC/occ_attrib_history.cpp
Modified:
   cgm/branches/merge-cubit12/geom/GeometryModifyTool.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCModifyEngine.cpp
Log:
Return GeometryModifyTool.cpp to previous version in fear of break cubit calls. Fixed a minus bug for building brick with extension.

Modified: cgm/branches/merge-cubit12/geom/GeometryModifyTool.cpp
===================================================================
--- cgm/branches/merge-cubit12/geom/GeometryModifyTool.cpp	2011-04-18 16:22:25 UTC (rev 4747)
+++ cgm/branches/merge-cubit12/geom/GeometryModifyTool.cpp	2011-04-18 17:22:13 UTC (rev 4748)
@@ -3851,15 +3851,6 @@
       CubitUndo::note_result_bodies( output_body_list );
   }
 
-  body_list.clean_out();
-  for(int i = 0; i < result_list.size(); i++)
-  {
-    Body* body = CAST_TO(result_list.get_and_step()->topology_entity(),Body );
-    if(body)
-      body_list.append(body);
-  }
-  CAST_LIST( body_list, ref_ent_list, RefEntity);
-
   return status;
 }
 
@@ -3917,14 +3908,6 @@
       CubitUndo::note_result_bodies( output_body_list );
   }
 
-  body_list.clean_out();
-  for(int i = 0; i < result_list.size(); i++)
-  {
-    Body* body = CAST_TO(result_list.get_and_step()->topology_entity(),Body );
-    if(body)
-      body_list.append(body);
-  }
-  CAST_LIST( body_list, ref_ent_list, RefEntity);
   return status;
 }
 
@@ -4810,14 +4793,6 @@
       CubitUndo::note_result_bodies( output_body_list );
   }
 
-  body_list.clean_out();
-  for(int i = 0; i < result_list.size(); i++)
-  {
-    Body* body = CAST_TO(result_list.get_and_step()->topology_entity(),Body );
-    if(body)
-      body_list.append(body);
-  }
-  CAST_LIST( body_list, ref_ent_list, RefEntity);
   return status;
 }
 CubitStatus GeometryModifyTool::sweep_along_curve(DLIList<RefEntity*>& ref_ent_list,
@@ -4879,14 +4854,6 @@


More information about the cgma-dev mailing list