summaryrefslogtreecommitdiff
path: root/StormLib/src
diff options
context:
space:
mode:
authorAmber Burton <parchmentwolf@gmail.com>2026-07-05 07:17:57 -0400
committerGitHub <noreply@github.com>2026-07-05 11:17:57 +0000
commit3c48ccd7053ac2c3cea2d0e32d393efddd7097ac (patch)
tree8e7e44880fdc3dd4885716148453f158d1fcd40f /StormLib/src
parent015440fdffd21578fb8791f9aa98b76d8bb6e4ff (diff)
1 Cache + Fix logical errors (#6862)
So this fixes some logical errors with loading the resources so its checking they exist before trying to test-load them... It also added a cache for the alt skeleton by tunic type so we arent constantly trying to reassign the tunic (This change in particular may prevent instant model swapping depending how the model swap with custom content is handled if loaded in a menu like NEI does)... Current system was just spamming that check over and over and trying to reload skeletons constantly so I opted for detecting if the tunic actually changes THEN allow a recheck here, otherwise exit out early. The skeleton.cpp and skeleton.h files can be reverted if suspected that will interfere with intended custom model usage.
Diffstat (limited to 'StormLib/src')
0 files changed, 0 insertions, 0 deletions