Skip to content

Commit

Permalink
Fix 0033576:
Browse files Browse the repository at this point in the history
BRepTools_NurbsConvertModification::NewPolygon does not return false when creation fails

AKA FreeCAD/FreeCAD#9760
  • Loading branch information
adrianinsaval committed Sep 18, 2024
1 parent 9734a91 commit 8db1faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BRepTools/BRepTools_NurbsConvertModification.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ Standard_Boolean BRepTools_NurbsConvertModification::NewPolygon(const TopoDS_Edg
gp_Pnt aPoint = aCurve->Value(aParam);
newParameter(aPoint, aNewCurve, aFirst, aLast, aTol, aParam);
}
}
} else return Standard_False;
}
return Standard_True;
}
Expand Down

0 comments on commit 8db1faa

Please sign in to comment.