1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-28 15:55:51 +00:00

Clear skel cache in animation editor

This commit is contained in:
fgenesis 2015-06-08 02:13:52 +02:00
parent 236096683a
commit b71c21a0b3

View file

@ -1415,6 +1415,7 @@ void AnimationEditor::load()
std::string file = dsq->getUserInputString("Enter anim file to load:");
if (file.empty()) return;
this->editingFile = file;
SkeletalSprite::clearCache();
loadFile();
}
@ -1426,6 +1427,7 @@ void AnimationEditor::loadSkin()
if (file.empty()) return;
//this->editingFile = file;
//loadFile();
SkeletalSprite::clearCache();
editSprite->loadSkin(file);
}