- fbx: fix reading of short data tokens in binary files.

pull/14/head
Alexander Gessler 2012-08-20 17:39:44 +02:00
parent 3e86e1b857
commit 8336aa423f
1 changed files with 5 additions and 0 deletions

View File

@ -174,6 +174,11 @@ void ReadData(const char*& sbegin_out, const char*& send_out, const char* input,
switch(type)
{
// 16 bit int
case 'Y':
cursor += 2;
break;
// 1 bit bool flag (yes/no)
case 'C':
cursor += 1;