From 09faea0c8f73f79be2d7df7da27a2a981975c58a Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 31 Oct 2013 08:58:04 +0100 Subject: [PATCH] + Fix build failure with >= OCC 6.5.2 --- src/Mod/Part/App/PrimitiveFeature.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Mod/Part/App/PrimitiveFeature.cpp b/src/Mod/Part/App/PrimitiveFeature.cpp index b8f5b52bf..88292dab5 100644 --- a/src/Mod/Part/App/PrimitiveFeature.cpp +++ b/src/Mod/Part/App/PrimitiveFeature.cpp @@ -792,7 +792,11 @@ App::DocumentObjectExecReturn *Spiral::execute(void) Handle_Geom_Plane aPlane = new Geom_Plane(gp_Pnt(0.0,0.0,0.0), gp::DZ()); Standard_Real range = (myNumRot+1) * myGrowth + 1; - BRepBuilderAPI_MakeFace mkFace(aPlane, -range, range, -range, range); + BRepBuilderAPI_MakeFace mkFace(aPlane, -range, range, -range, range +#if OCC_VERSION_HEX >= 0x060502 + , Precision::Confusion() +#endif + ); BRepProj_Projection proj(wire, mkFace.Face(), gp::DZ()); this->Shape.setValue(proj.Shape()); }