mirror of
https://gitgud.io/AbstractConcept/rimworld-animations-patch.git
synced 2024-08-15 00:43:27 +00:00
v2.0.2
- Implemented texture caching to reduce the performance hit induced by dynamically cropping apparel - Dynamically cropping apparel is now compatible with Sized Apparel
This commit is contained in:
parent
767317773b
commit
9144029fec
15 changed files with 108 additions and 25 deletions
|
@ -82,6 +82,12 @@ namespace Rimworld_Animations_Patch
|
|||
// Update all humanlike pawn graphics when settings window is closed
|
||||
public void ApplySettings()
|
||||
{
|
||||
if (ApparelSettings.cropApparel == false)
|
||||
{
|
||||
DebugMode.Message("Clearing apparel texture cache");
|
||||
ApparelSettingsUtility.ClearCachedApparelTextures();
|
||||
}
|
||||
|
||||
if (Current.ProgramState == ProgramState.Playing)
|
||||
{
|
||||
foreach (Pawn pawn in Current.Game.CurrentMap.mapPawns.AllPawns)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue