mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-20 14:15:33 +00:00
Refreshing shape/frame cache after image replace
formatting
This commit is contained in:
@@ -92,6 +92,7 @@ import com.jpexs.decompiler.flash.types.RECT;
|
||||
import com.jpexs.decompiler.flash.types.filters.BlendComposite;
|
||||
import com.jpexs.decompiler.flash.types.filters.FILTER;
|
||||
import com.jpexs.decompiler.flash.types.filters.Filtering;
|
||||
import com.jpexs.decompiler.flash.types.shaperecords.SHAPERECORD;
|
||||
import com.jpexs.decompiler.flash.types.sound.AdpcmDecoder;
|
||||
import com.jpexs.decompiler.flash.xfl.XFLConverter;
|
||||
import java.awt.AlphaComposite;
|
||||
@@ -1899,6 +1900,11 @@ public class SWF {
|
||||
}
|
||||
private static Cache cache = new Cache(false);
|
||||
|
||||
public void clearImageCache() {
|
||||
cache.clear();
|
||||
SHAPERECORD.clearShapeCache();
|
||||
}
|
||||
|
||||
public static RECT fixRect(RECT rect) {
|
||||
RECT ret = new RECT();
|
||||
ret.Xmin = rect.Xmin;
|
||||
|
||||
Reference in New Issue
Block a user