From 51a16b938f7b0604f648a184b8c0688a79b0ccba Mon Sep 17 00:00:00 2001 From: Benau Date: Thu, 9 Nov 2017 12:16:30 +0800 Subject: [PATCH] Read only 4 bytes for tangent (unused atm), remember update stk-assets --- src/graphics/sp_mesh_loader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/sp_mesh_loader.cpp b/src/graphics/sp_mesh_loader.cpp index a099a7510..fec1a8e2c 100644 --- a/src/graphics/sp_mesh_loader.cpp +++ b/src/graphics/sp_mesh_loader.cpp @@ -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)