[cgma-dev] r3518 - cgm/trunk/itaps
jvporter at wisc.edu
jvporter at wisc.edu
Mon Feb 1 14:16:09 CST 2010
Author: jvporter
Date: 2010-02-01 14:16:09 -0600 (Mon, 01 Feb 2010)
New Revision: 3518
Modified:
cgm/trunk/itaps/iGeom_CGMA.cc
Log:
Make append_all_ibase_type return entities of all types when specified
Modified: cgm/trunk/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/trunk/itaps/iGeom_CGMA.cc 2010-02-01 16:50:13 UTC (rev 3517)
+++ cgm/trunk/itaps/iGeom_CGMA.cc 2010-02-01 20:16:09 UTC (rev 3518)
@@ -6809,8 +6809,11 @@
{
RefEntityFactory *const ref = RefEntityFactory::instance();
if (ibase_type == iBase_ALL_TYPES) {
- for (int i = 0; i < 4; ++i)
- ref->ref_entity_list( iGeom_entity_type_names[i], target_list );
+ for (int i = 0; i < 4; ++i) {
+ DLIList<RefEntity*> tmp;
+ ref->ref_entity_list( iGeom_entity_type_names[i], tmp );
+ target_list += tmp;
+ }
}
else if (abs(ibase_type) < iBase_ALL_TYPES) {
ref->ref_entity_list( iGeom_entity_type_names[ibase_type], target_list );
More information about the cgma-dev
mailing list