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

@ -343,7 +343,7 @@ void RenderFrameModels(FModelRenderer *renderer, FLevelLocals *Level, const FSpr
auto& ssids = surfaceskinids.Size() > 0 ? surfaceskinids : smf->surfaceskinIDs;
auto ssidp = (unsigned)(i * MD3_MAX_SURFACES) < ssids.Size() ? &ssids[i * MD3_MAX_SURFACES] : nullptr;
const TArray<VSMatrix>* animationData = {};
const TArray<VSMatrix>* animationData = nullptr;
if (smf->animationIDs[i] >= 0)
{