Skip to content

Commit

Permalink
fixes #4456: Regression : Part.Plane.Intersect do not accept plane as…
Browse files Browse the repository at this point in the history
… argument [skip ci]
  • Loading branch information
wwmayer committed Oct 17, 2020
1 parent 9881fff commit ce87f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Part/App/Geometry.cpp
Expand Up @@ -1658,7 +1658,7 @@ void GeomTrimmedCurve::Restore (Base::XMLReader &/*reader*/) {asse

PyObject *GeomTrimmedCurve::getPyObject(void)
{
return 0;
return new TrimmedCurvePy(static_cast<GeomTrimmedCurve*>(this->clone()));
}

bool GeomTrimmedCurve::intersectBasisCurves( const GeomTrimmedCurve * c,
Expand Down Expand Up @@ -3737,7 +3737,7 @@ void GeomLine::Restore(Base::XMLReader &reader)

PyObject *GeomLine::getPyObject(void)
{
return 0;
return new LinePy(static_cast<GeomLine*>(this->clone()));
}

// -------------------------------------------------
Expand Down

1 comment on commit ce87f58

@plaes
Copy link
Contributor

@plaes plaes commented on ce87f58 Oct 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wwmayer Could you also uncomment the test in src/Mod/Part/parttests/regression_tests.py ?

Please sign in to comment.