Fixed #2178 Undo on sprites

This commit is contained in:
Jindra Petřík
2024-01-05 23:55:00 +01:00
parent 7a8760def9
commit f931488477
2 changed files with 5 additions and 0 deletions

View File

@@ -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);