mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 10:01:08 +00:00
Character tag removing simplified/fixed
This commit is contained in:
@@ -1362,7 +1362,6 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
fpsShouldBe = timeline.frameRate;
|
||||
fpsIs = fpsShouldBe;
|
||||
scheduleTask(singleFrame, 0);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -796,7 +796,7 @@ public class PreviewPanel extends JPersistentSplitPane implements TagEditorPanel
|
||||
if (treeItem instanceof DefineSpriteTag) {
|
||||
isSprite = true;
|
||||
}
|
||||
int chtId = 0;
|
||||
int chtId = -1;
|
||||
if (treeItem instanceof CharacterTag) {
|
||||
chtId = ((CharacterTag) treeItem).getCharacterId();
|
||||
}
|
||||
@@ -1068,7 +1068,7 @@ public class PreviewPanel extends JPersistentSplitPane implements TagEditorPanel
|
||||
for (VideoFrameTag f : frs) {
|
||||
if (!first) {
|
||||
ratio++;
|
||||
new PlaceObject2Tag(swf, true, 1, 0, null, null, ratio, null, -1, null).writeTag(sos2);
|
||||
new PlaceObject2Tag(swf, true, 1, -1, null, null, ratio, null, -1, null).writeTag(sos2);
|
||||
}
|
||||
f.writeTag(sos2);
|
||||
new ShowFrameTag(swf).writeTag(sos2);
|
||||
|
||||
Reference in New Issue
Block a user