In file "BinFormat.h", definition of "struct ObjPolygon" indicates 1 byte for :
int8_t data
But in file "ManualBinFileLoader.cpp", the function "ObjectMeshLoader::loadPolygons()" reads 2 bytes from the stream for this field :
mFile->readElem(&op.data, 2);
Maybe the 2nd byte is immediately overriden when reading next field "type", then we'd lose the 2nd byte for "data" field ?
Hi, thanks for the report. I'm moving to github and copying this bug there. https://github.com/volca02/openDarkEngine/issues/10