Merge pull request #4968 from tomate44/patch-1

[Part] BugFix BSplineSurfacePyImp.cpp
This commit is contained in:
Yorik van Havre
2021-08-16 14:28:32 +02:00
committed by GitHub

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;