Changes before To-Dos

- Removed redundant AttachAnimationData functions from derived model classes
- Fixed indentation in IQM loader
- Fixed a merging issue in the MD3 FindFrame
- Fixed a formatting issue in FindFrame in Model.h?
This commit is contained in:
Shiny Metagross 2022-08-15 09:17:41 -07:00 committed by Christoph Oelckers
commit e9e919b54c
13 changed files with 8 additions and 64 deletions

View file

@ -426,10 +426,10 @@ void IQMModel::LoadBlendIndexes(IQMFileReader& reader, const IQMVertexArray& ver
for (FModelVertex& v : Vertices)
{
int x = reader.ReadUByte();
int y = reader.ReadUByte();
int z = reader.ReadUByte();
int w = reader.ReadUByte();
v.SetBoneSelector(x, y, z, w);
int y = reader.ReadUByte();
int z = reader.ReadUByte();
int w = reader.ReadUByte();
v.SetBoneSelector(x, y, z, w);
}
}
else if (vertexArray.Format == IQM_INT && vertexArray.Size == 4)