diff --git a/src/Mod/PartDesign/App/FeatureChamfer.cpp b/src/Mod/PartDesign/App/FeatureChamfer.cpp index 7eeee53b15..d0e015cf8e 100644 --- a/src/Mod/PartDesign/App/FeatureChamfer.cpp +++ b/src/Mod/PartDesign/App/FeatureChamfer.cpp @@ -35,6 +35,7 @@ # include # include # include +# include #endif #include @@ -102,7 +103,11 @@ App::DocumentObjectExecReturn *Chamfer::execute(void) for (std::vector::const_iterator it=SubNames.begin(); it != SubNames.end(); ++it) { TopoDS_Edge edge = TopoDS::Edge(baseShape.getSubShape(it->c_str())); const TopoDS_Face& face = TopoDS::Face(mapEdgeFace.FindFromKey(edge).First()); +#if OCC_VERSION_HEX > 0x070300 + mkChamfer.Add(size, size, edge, face); +#else mkChamfer.Add(size, edge, face); +#endif } mkChamfer.Build();