Part: exported Part::sort_Edges

Fixed export of Part::shape2pyshape
This commit is contained in:
Zheng, Lei 2017-01-20 17:46:47 +08:00
parent 1517418ba0
commit eb0f89f477
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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()) {