Surfaceskin modification

- Made it so when rendering a model, it clones an smf to use so that data isn't overwritten
- Reimplemented the skin index property. This changes the behavior of this index if CMDL_USESURFACESKIN is activated
This commit is contained in:
Shiny Metagross 2022-07-05 13:29:47 -07:00 committed by Christoph Oelckers
commit 69ee1eb0a2
7 changed files with 62 additions and 27 deletions

View file

@ -1368,6 +1368,7 @@ void DActorModelData::Serialize(FSerializer& arc)
arc("modelDef", modelDef)
("modelIDs", modelIDs)
("skinIDs", skinIDs)
("surfaceSkinIDs", surfaceSkinIDs)
("hasModel", hasModel);
}