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:
parent
236096683a
commit
b71c21a0b3
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue