- FBX: workaround to handle files using the 'b' typecode.

pull/16/merge
Alexander Gessler 2013-01-24 22:25:44 +01:00
parent 03c01685d3
commit bbe8763d9e
1 changed files with 8 additions and 1 deletions

View File

@ -206,12 +206,19 @@ void ReadData(const char*& sbegin_out, const char*& send_out, const char* input,
// note: do not write cursor += ReadWord(...cursor) as this would be UB
// raw binary data
case 'R': {
case 'R':
{
const uint32_t length = ReadWord(input, cursor, end);
cursor += length;
break;
}
case 'b':
// TODO: what is the 'b' type code? Right now we just skip over it /
// take the full range we could get
cursor = end;
break;
// array of *
case 'f':
case 'd':