Fix skin count not applying when importing a model
This commit is contained in:
parent
96c68b793c
commit
fc97eed0ac
Binary file not shown.
@ -621,8 +621,8 @@ namespace Bfres.Structs
|
||||
shape.CreateBoneList(obj, this);
|
||||
shape.CreateIndexList(obj, this);
|
||||
shape.ApplyImportSettings(csvsettings, GetMaterial(shape.MaterialIndex));
|
||||
shape.VertexSkinCount = obj.GetMaxSkinInfluenceCount();
|
||||
shape.BoneIndices = shape.GetIndices(Skeleton);
|
||||
shape.VertexSkinCount = obj.GetMaxSkinInfluenceCount();
|
||||
shape.SaveShape(IsWiiU);
|
||||
shape.SaveVertexBuffer();
|
||||
|
||||
@ -881,6 +881,7 @@ namespace Bfres.Structs
|
||||
shape.CreateIndexList(obj, this);
|
||||
shape.ApplyImportSettings(settings, GetMaterial(shape.MaterialIndex));
|
||||
shape.BoneIndices = shape.GetIndices(Skeleton);
|
||||
shape.VertexSkinCount = obj.GetMaxSkinInfluenceCount();
|
||||
|
||||
shape.SaveShape(IsWiiU);
|
||||
shape.SaveVertexBuffer();
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user