From 2bed80b57e3f7183ecca781b273ae2580d7b5f04 Mon Sep 17 00:00:00 2001 From: tomate44 Date: Fri, 15 Jul 2016 11:27:24 +0200 Subject: [PATCH] fix VDegree fix for getVDegree that was returning UDegree --- src/Mod/Part/App/BezierSurfacePyImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/BezierSurfacePyImp.cpp b/src/Mod/Part/App/BezierSurfacePyImp.cpp index fa0ab586f..5707cb34f 100644 --- a/src/Mod/Part/App/BezierSurfacePyImp.cpp +++ b/src/Mod/Part/App/BezierSurfacePyImp.cpp @@ -740,7 +740,7 @@ Py::Int BezierSurfacePy::getVDegree(void) const { Handle_Geom_BezierSurface surf = Handle_Geom_BezierSurface::DownCast (getGeometryPtr()->handle()); - return Py::Int(surf->UDegree()); + return Py::Int(surf->VDegree()); } Py::Int BezierSurfacePy::getMaxDegree(void) const