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