mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-24 20:20:46 +00:00
Fixed GFX - DefineExternalImage2 display and correct handling if standalone
This commit is contained in:
@@ -5422,10 +5422,15 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
neededCopies.add(dei2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ImageTag imageTagCopy = (ImageTag) imageTag.cloneTag();
|
||||
imageTagCopy.setSwf(swf);
|
||||
int imageCharId = imageTag.getCharacterId();
|
||||
if ((imageTag instanceof DefineExternalImage2) && (((DefineExternalImage2)imageTag).unknownID > 0)) {
|
||||
imageCharId = swf.getNextCharacterId();
|
||||
imageTagCopy.characterID = imageCharId;
|
||||
}
|
||||
DefineShape2Tag shapeTag = new DefineShape2Tag(swf);
|
||||
int shapeCharId = imageCharId + 1;
|
||||
shapeTag.shapeId = shapeCharId;
|
||||
|
||||
Reference in New Issue
Block a user