BFRES : Quick work around for skinning indices to fix index out of range error.
Quick work around based on VelouriasMoon's fix.
This commit is contained in:
parent
dcba003aba
commit
e1e6a3941f
@ -49,7 +49,7 @@ namespace Bfres.Structs
|
|||||||
{
|
{
|
||||||
if (bn.Text == Bone.Name)
|
if (bn.Text == Bone.Name)
|
||||||
{
|
{
|
||||||
if (bn.UseSmoothMatrix || bn.SmoothMatrixIndex != -1)
|
if (bn.UseSmoothMatrix || bn.SmoothMatrixIndex > 0)
|
||||||
{
|
{
|
||||||
bn.SmoothMatrixIndex = (short)SmoothIndex++;
|
bn.SmoothMatrixIndex = (short)SmoothIndex++;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user