From b71c21a0b35bc88f7c606b21cab8bf2d4d688f08 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Mon, 8 Jun 2015 02:13:52 +0200 Subject: [PATCH] Clear skel cache in animation editor --- Aquaria/AnimationEditor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Aquaria/AnimationEditor.cpp b/Aquaria/AnimationEditor.cpp index af0a35c..904e028 100644 --- a/Aquaria/AnimationEditor.cpp +++ b/Aquaria/AnimationEditor.cpp @@ -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); }