2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 19:07:44 +00:00

Fix skin binding unordered_map use

This commit is contained in:
Jack Andersen
2019-05-08 13:38:00 -10:00
parent 5c59acddf2
commit 92e2c03a01
4 changed files with 10 additions and 9 deletions

View File

@@ -147,7 +147,7 @@ HMDLBuffers Mesh::getHMDLBuffers(bool absoluteCoords, PoolSkinIndex& poolSkinInd
if (it == bank.m_boneIdxs.cend())
break;
for (const SkinBind& bind : binds) {
if (!bind)
if (!bind.valid())
break;
if (bind.vg_idx == *it) {
vec.simd[j] = bind.weight;