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:
parent
1992d14b62
commit
c0a681bc51
@ -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))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user