We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 241c95e commit 825a493Copy full SHA for 825a493
1 file changed
src/ifcgeom/IfcGeomIterator.h
@@ -455,8 +455,8 @@ namespace IfcGeom {
455
bool representation_processed_as_mapped_item = false;
456
IfcSchema::IfcRepresentation* representation_mapped_to = kernel.representation_mapped_to(representation);
457
if (representation_mapped_to) {
458
- representation_processed_as_mapped_item = geometry_reuse_ok_for_current_representation_ ||
459
- ok_mapped_representations->contains(representation_mapped_to);
+ representation_processed_as_mapped_item = geometry_reuse_ok_for_current_representation_ && (
+ ok_mapped_representations->contains(representation_mapped_to) || reuse_ok_(kernel.products_represented_by(representation_mapped_to)));
460
}
461
462
if (representation_processed_as_mapped_item) {
0 commit comments