diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index d15646ce53..d0a7e663a9 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -1255,7 +1255,7 @@ IfcGeom::BRepElement

* IfcGeom::Kernel::create_brep_for_representation_and_pro if (faster_booleans) { bool success = convert_openings_fast(product,openings,shapes,trsf,opened_shapes); #if OCC_VERSION_HEX < 0x60900 - if ( ! succes ) { + if (!success) { opened_shapes.clear(); convert_openings(product,openings,shapes,trsf,opened_shapes); } @@ -2773,4 +2773,4 @@ bool IfcGeom::Kernel::boolean_operation(const TopoDS_Shape& a, const TopoDS_Shap bs.Append(b); return boolean_operation(a, bs, op, result, fuzziness); } -#endif \ No newline at end of file +#endif