Skip to content

Commit

Permalink
+ Fix build failure with >= OCC 6.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Oct 31, 2013
1 parent 712bc17 commit 09faea0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Mod/Part/App/PrimitiveFeature.cpp
Expand Up @@ -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());
}
Expand Down

0 comments on commit 09faea0

Please sign in to comment.