1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0026419: [Regression?] Export of a reversed face leads to crash in 6.9.0 although proceeded in 6.8.0

Take basis surface from trimmed surfaces during IGES writing, because pcurves will be transformed, so trim will be shifted, accorded to new face bounds,
fix updating of seam edge,
change condition of using Segment during exporting periodic BSpline surfaces to IGES (if bounds are not in one period).

Test cases for issue CR26419
This commit is contained in:
ika
2015-09-08 16:20:42 +03:00
committed by bugmaster
parent 5174095875
commit eeec098631
5 changed files with 47 additions and 13 deletions

View File

@@ -94,7 +94,7 @@ int iges_lire (FILE* lefic, int *numsec, char ligne[100], int modefnes)
if (ligne[0] == '\0' || ligne[0] == '\n' || ligne[0] == '\r')
return iges_lire(lefic,numsec,ligne,modefnes); /* 0 */
if (!sscanf(&ligne[73],"%d",&result) == 0) {
if (sscanf(&ligne[73],"%d",&result) != 0) {
*numsec = result;
typesec = ligne[72];
switch (typesec) {