mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
fix: shapekey deletion logic broke all bones in the mesh (#940)
This commit is contained in:
parent
c50b3526f6
commit
d999f799fb
@ -144,7 +144,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
List<BoneWeight1> boneWeights = new(origBoneWeights.Length);
|
||||
List<byte> bonesPerVertex = new(origBonesPerVertex.Length);
|
||||
|
||||
if (bonesPerVertex.Count == 0) return; // no bones in this mesh
|
||||
if (origBonesPerVertex.Length == 0) return; // no bones in this mesh
|
||||
|
||||
int ptr = 0;
|
||||
for (int i = 0; i < toRetain.Length; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user