mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0025558: It is impossible to restore attached shape
Condition of adding one last knot corrected. Test-case for issue #25558
This commit is contained in:
@@ -1698,8 +1698,8 @@ Standard_Boolean BSplCLib::PrepareInsertKnots
|
||||
{
|
||||
//gka for case when segments was produced on full period only one knot
|
||||
//was added in the end of curve
|
||||
if(fabs(adeltaK1) <= Precision::PConfusion() &&
|
||||
fabs(adeltaK2) <= Precision::PConfusion())
|
||||
if(fabs(adeltaK1) <= gp::Resolution() &&
|
||||
fabs(adeltaK2) <= gp::Resolution())
|
||||
ak++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user