This commit is contained in:
Thomas Krijnen
2017-11-13 13:01:59 +01:00
committed by GitHub
parent 148432c011
commit 6463690a8b
+2 -2
View File
@@ -1255,7 +1255,7 @@ IfcGeom::BRepElement<P>* IfcGeom::Kernel::create_brep_for_representation_and_pro
if (faster_booleans) { if (faster_booleans) {
bool success = convert_openings_fast(product,openings,shapes,trsf,opened_shapes); bool success = convert_openings_fast(product,openings,shapes,trsf,opened_shapes);
#if OCC_VERSION_HEX < 0x60900 #if OCC_VERSION_HEX < 0x60900
if ( ! succes ) { if (!success) {
opened_shapes.clear(); opened_shapes.clear();
convert_openings(product,openings,shapes,trsf,opened_shapes); 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); bs.Append(b);
return boolean_operation(a, bs, op, result, fuzziness); return boolean_operation(a, bs, op, result, fuzziness);
} }
#endif #endif