From 7307d80001d6f6570898f8b435a0309d28438243 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 21 Sep 2018 11:45:36 +0200 Subject: [PATCH] That was bad --- src/ifcgeom/IfcGeomFunctions.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 8c8060eda4..155136a744 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -159,12 +159,10 @@ namespace { void copy_operand(const TopTools_ListOfShape& l, TopTools_ListOfShape& r) { #if OCC_VERSION_HEX < 0x70000 - TopTools_ListOfShape r; TopTools_ListIteratorOfListOfShape it(l); for (; it.More(); it.Next()) { r.Append(BRepBuilderAPI_Copy(it.Value())); } - return r; #else // On OCCT 7.0 and higher BRepAlgoAPI_BuilderAlgo::SetNonDestructive(true) is // called. Not entirely sure on the behaviour before 7.0, so overcautiously