Fixed Clearing shape export cache on changes

This commit is contained in:
Jindra Petřík
2022-11-14 23:09:43 +01:00
parent 61c5e6b5da
commit 03f1866f92
5 changed files with 20 additions and 0 deletions

View File

@@ -2748,6 +2748,10 @@ public final class SWF implements SWFContainerItem, Timelined {
}
}
}
public void clearShapeCache() {
shapeExportDataCache.clear();
}
public void clearSoundCache() {
soundCache.clear();
@@ -2792,6 +2796,7 @@ public final class SWF implements SWFContainerItem, Timelined {
cyclicCharacters = null;
clearReadOnlyListCache();
clearImageCache();
clearShapeCache();
clearScriptCache();
clearAbcListCache();
clearAllStaticCache();
@@ -3171,6 +3176,7 @@ public final class SWF implements SWFContainerItem, Timelined {
updateCharacters();
clearImageCache();
clearShapeCache();
}
@Override
@@ -3193,6 +3199,7 @@ public final class SWF implements SWFContainerItem, Timelined {
resetTimelines(timelined);
updateCharacters();
clearImageCache();
clearShapeCache();
}
private void removeTagInternal(Timelined timelined, Tag tag, boolean removeDependencies) {
@@ -3376,6 +3383,7 @@ public final class SWF implements SWFContainerItem, Timelined {
assignExportNamesToSymbols();
assignClassesToSymbols();
clearImageCache();
clearShapeCache();
updateCharacters();
computeDependentCharacters();
computeDependentFrames();