mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0030256: ACIS Import - crash while importing SAT file on constructing a pipe
Fix for thin section with both first and last parameters located in one segment.
This commit is contained in:
parent
0913396cd3
commit
6c10d4b11a
@ -276,6 +276,8 @@ GeomFill_SectionPlacement(const Handle(GeomFill_LocationLaw)& L,
|
||||
|
||||
Standard_Integer NbLocalPnts = 10;
|
||||
Standard_Integer NbPnts = (NbKnots-1) * NbLocalPnts;
|
||||
if (NbPnts < 0)
|
||||
NbPnts = 0;
|
||||
if (I1 != I2)
|
||||
NbPnts += NbLocalPnts;
|
||||
if (I3 != I4 && first < BC->Knot(I3))
|
||||
|
Loading…
x
Reference in New Issue
Block a user