1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +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; break;
if (theBuffer.LinePtr[0] == ',') { if (theBuffer.LinePtr[0] == ',') {
theBuffer.LinePtr++; theBuffer.LinePtr++;
continue; } else if (theBuffer.LinePtr[0] == ']') { // closing bracket
} else if (theBuffer.LinePtr[0] == ']') // closing bracket
theBuffer.LinePtr++; theBuffer.LinePtr++;
else break;
aStatus = VrmlData_VrmlFormatError; }
break;
} }
} }
if (OK(aStatus) && OK(aStatus, readBrace (theBuffer))) { if (OK(aStatus) && OK(aStatus, readBrace (theBuffer))) {