Skip to content

Commit

Permalink
Part: exported Part::sort_Edges
Browse files Browse the repository at this point in the history
Fixed export of Part::shape2pyshape
  • Loading branch information
realthunder committed Jan 20, 2017
1 parent 1517418 commit eb0f89f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Part/App/AppPartPy.cpp
Expand Up @@ -147,7 +147,7 @@ struct EdgePoints {
TopoDS_Edge edge;
};

static std::list<TopoDS_Edge> sort_Edges(double tol3d, std::list<TopoDS_Edge>& edges)
std::list<TopoDS_Edge> sort_Edges(double tol3d, std::list<TopoDS_Edge>& edges)
{
tol3d = tol3d * tol3d;
std::list<EdgePoints> edge_points;
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Part/App/TopoShapePyImp.cpp
Expand Up @@ -159,7 +159,7 @@ int TopoShapePy::PyInit(PyObject* args, PyObject*)

namespace Part {
//common code.. maybe put somewhere else?
Py::Object PartExport shape2pyshape(const TopoDS_Shape &shape)
PartExport Py::Object shape2pyshape(const TopoDS_Shape &shape)
{
PyObject* ret = 0;
if (!shape.IsNull()) {
Expand Down

0 comments on commit eb0f89f

Please sign in to comment.