mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-05-10 11:03:51 +00:00
Clear animLayers properly
This commit is contained in:
parent
778a275ce2
commit
236096683a
1 changed files with 1 additions and 4 deletions
|
@ -1291,10 +1291,7 @@ void SkeletalSprite::loadSkeletal(const std::string &fn)
|
||||||
filenameLoaded = "";
|
filenameLoaded = "";
|
||||||
loaded = false;
|
loaded = false;
|
||||||
stopAnimation();
|
stopAnimation();
|
||||||
for (int i = 0; i < animLayers.size(); i++)
|
animLayers.clear();
|
||||||
{
|
|
||||||
animLayers[i].currentAnimation = 0;
|
|
||||||
}
|
|
||||||
deleteBones();
|
deleteBones();
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue