From 3fd1efe5b0f75a72718b874371f71ffc156936f5 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 2 Oct 2013 09:42:09 +0200 Subject: [PATCH] + Fix for call of normalAt for edges --- src/Mod/Part/App/TopoShapeEdgePyImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/TopoShapeEdgePyImp.cpp b/src/Mod/Part/App/TopoShapeEdgePyImp.cpp index 16807df2e1..9ab68d81f9 100644 --- a/src/Mod/Part/App/TopoShapeEdgePyImp.cpp +++ b/src/Mod/Part/App/TopoShapeEdgePyImp.cpp @@ -269,7 +269,7 @@ PyObject* TopoShapeEdgePy::normalAt(PyObject *args) } try { - BRepLProp_CLProps prop(adapt,u,1,Precision::Confusion()); + BRepLProp_CLProps prop(adapt,u,2,Precision::Confusion()); gp_Dir V ; prop.Normal(V); return new Base::VectorPy(new Base::Vector3d(V.X(),V.Y(),V.Z()));