Update BSplineSurfacePyImp.cpp

Typo in setVKnot()
This commit is contained in:
Christophe Grellier
2021-08-15 11:16:01 +02:00
committed by GitHub
parent bb44a4dd0e
commit 67ecfb6a1d

View File

@@ -447,10 +447,10 @@ PyObject* BSplineSurfacePy::setVKnot(PyObject *args)
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
(getGeometryPtr()->handle());
if (M == -1) {
surf->SetUKnot(Index, K);
surf->SetVKnot(Index, K);
}
else {
surf->SetUKnot(Index, K, M);
surf->SetVKnot(Index, K, M);
}
Py_Return;