From 99706bdf5a3e225c74d37bfca0c878a47b74a021 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 7 Jan 2020 14:17:55 +0100 Subject: [PATCH] Fix #741 --- src/ifcgeom/IfcGeomIteratorImplementation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeomIteratorImplementation.h b/src/ifcgeom/IfcGeomIteratorImplementation.h index 019118be6c..673f5e8534 100644 --- a/src/ifcgeom/IfcGeomIteratorImplementation.h +++ b/src/ifcgeom/IfcGeomIteratorImplementation.h @@ -162,7 +162,7 @@ namespace { for (auto it = rep->products->begin() + 1; it != rep->products->end(); ++it) { auto brep2 = kernel->create_brep_for_processed_representation(settings, representation, *it, brep); if (brep2) { - auto elem2 = process_based_on_settings(settings, brep, dynamic_cast*>(elem)); + auto elem2 = process_based_on_settings(settings, brep2, dynamic_cast*>(elem)); if (elem2) { rep->breps.push_back(brep2); rep->elements.push_back(elem2);