mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 14:00:45 +00:00
Fixing characters order failed, recursion detected: problem fixed
This commit is contained in:
@@ -318,6 +318,10 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
if (checkAll || tag.isModified()) {
|
||||
Set<Integer> needed = new HashSet<>();
|
||||
tag.getNeededCharacters(needed);
|
||||
if (tag instanceof CharacterTag) {
|
||||
CharacterTag characterTag = (CharacterTag) tag;
|
||||
needed.remove(characterTag.getCharacterId());
|
||||
}
|
||||
boolean moved = false;
|
||||
for (Integer id : needed) {
|
||||
if (!addedCharacterIds.contains(id)) {
|
||||
|
||||
@@ -43,7 +43,6 @@ public class SerializableImage implements Serializable {
|
||||
public static int TYPE_INT_ARGB_PRE = BufferedImage.TYPE_INT_ARGB_PRE;
|
||||
public static int TYPE_4BYTE_ABGR = BufferedImage.TYPE_4BYTE_ABGR;
|
||||
|
||||
//private static int imageid = 0;
|
||||
private BufferedImage image;
|
||||
private transient Graphics graphics;
|
||||
|
||||
@@ -67,10 +66,6 @@ public class SerializableImage implements Serializable {
|
||||
}
|
||||
|
||||
public BufferedImage getBufferedImage() {
|
||||
/*try {
|
||||
javax.imageio.ImageIO.write(image, "png", new File("c:\\10\\x\\imageid" + String.format("%03d", imageid++) + ".png"));
|
||||
} catch (IOException ex) {
|
||||
}*/
|
||||
return image;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user