1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0023023: VRML reader fails on attempt to read an attached WRL file

This commit is contained in:
vro
2012-03-22 09:06:16 +04:00
committed by bugmaster
parent 1992d14b62
commit c0a681bc51

View File

@@ -589,12 +589,10 @@ VrmlData_ErrorStatus VrmlData_TextureCoordinate::Read
break;
if (theBuffer.LinePtr[0] == ',') {
theBuffer.LinePtr++;
continue;
} else if (theBuffer.LinePtr[0] == ']') // closing bracket
} else if (theBuffer.LinePtr[0] == ']') { // closing bracket
theBuffer.LinePtr++;
else
aStatus = VrmlData_VrmlFormatError;
break;
break;
}
}
}
if (OK(aStatus) && OK(aStatus, readBrace (theBuffer))) {