Fixed #2178 Undo on sprites

This commit is contained in:
Jindra Petřík
2024-08-05 11:17:25 +02:00
parent 7a8760def9
commit f931488477
2 changed files with 5 additions and 0 deletions
@@ -3482,6 +3482,9 @@ public class TagTreeContextMenu extends JPopupMenu {
Tag tag = (Tag) item;
tag.undo();
tag.getSwf().clearAllCache();
if (tag instanceof Timelined) {
((Timelined) tag).resetTimeline();
}
tree.getFullModel().updateNode(item);
} catch (InterruptedException | IOException ex) {
logger.log(Level.SEVERE, null, ex);