Read only 4 bytes for tangent (unused atm), remember update stk-assets

This commit is contained in:
Benau 2017-11-09 12:16:30 +08:00
parent 53827cbe21
commit 51a16b938f

View File

@ -274,8 +274,8 @@ void SPMeshLoader::decompress(irr::io::IReadFile* spm, unsigned vertices_count,
}
if (read_tangent)
{
// Unused, tangents are re-calculated anyway
spm->read(tmp, 8);
// Tangents are re-calculated anyway in 0.9.3
spm->read(tmp, 4);
}
}
if (vt == SPVT_SKINNED)