From 1704862d0d467634b673710b56fc4cfae985d75a Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 5 Jun 2017 11:08:07 +0200 Subject: [PATCH] Correct test for when to reuse representation in iterator --- src/ifcgeom/IfcGeomIterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeomIterator.h b/src/ifcgeom/IfcGeomIterator.h index caa0e922a2..308899d76d 100644 --- a/src/ifcgeom/IfcGeomIterator.h +++ b/src/ifcgeom/IfcGeomIterator.h @@ -511,7 +511,7 @@ namespace IfcGeom { Logger::SetProduct(product); BRepElement

* element; - if (ifcproduct_iterator == ifcproducts->begin() || !settings.get(IteratorSettings::USE_WORLD_COORDS)) { + if (ifcproduct_iterator == ifcproducts->begin() || settings.get(IteratorSettings::USE_WORLD_COORDS)) { element = kernel.create_brep_for_representation_and_product

(settings, representation, product); } else { element = kernel.create_brep_for_processed_representation(settings, representation, product, current_shape_model);