Skip to content

Commit

Permalink
fix bug in Curve class
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 3, 2016
1 parent 6de10d4 commit 89a896b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Part/App/GeometryCurvePyImp.cpp
Expand Up @@ -763,7 +763,7 @@ PyObject* GeometryCurvePy::intersectCC(PyObject *args)
if (!curve1.IsNull()) {
PyObject *p;
double prec = Precision::Confusion();
if (!PyArg_ParseTuple(args, "O!|d", &(Part::GeometrySurfacePy::Type), &p, &prec))
if (!PyArg_ParseTuple(args, "O!|d", &(Part::GeometryCurvePy::Type), &p, &prec))
return 0;
Handle_Geom_Curve curve2 = Handle_Geom_Curve::DownCast(static_cast<GeometryPy*>(p)->getGeometryPtr()->handle());
GeomAPI_ExtremaCurveCurve intersector(curve1, curve2);
Expand Down

0 comments on commit 89a896b

Please sign in to comment.