mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 09:03:52 +00:00
setGhostPreview reused modelId 59999 for every preview, but loadModel returns true without doing anything when the ID is already cached. So selecting a new NPC kept the old ghost model in GPU memory and createInstance used the stale model. Added M2Renderer::unloadModel public API and call it from clearGhostPreview. |
||
|---|---|---|
| .. | ||
| addons | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| math | ||
| network | ||
| pipeline | ||
| platform | ||
| rendering | ||
| third_party | ||
| ui | ||