mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Vanilla (v256) and TBC (v263) M2 files embed skin data directly, parsed during M2Loader::load(). The code unconditionally loaded external .skin files afterwards, which resolved to WotLK-format .skin files (48-byte submeshes) from the base manifest — overwriting the correctly parsed embedded skin (32-byte submeshes) and causing mesh corruption on all character models. Guard all 13 loadSkin() call sites with version >= 264 so external .skin files are only loaded for WotLK M2s that need them. |
||
|---|---|---|
| .. | ||
| application.cpp | ||
| input.cpp | ||
| logger.cpp | ||
| memory_monitor.cpp | ||
| window.cpp | ||