mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-02 15:51:16 +00:00
Fixed #1839 Sprite frames exported incorrectly and repeating
This commit is contained in:
@@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
### Fixed
|
||||
- [#1834] PlaceObject4 tags appear as Unresolved inside of DefineSprite
|
||||
- [#1839] Sprite frames exported incorrectly and repeating
|
||||
|
||||
## [15.1.1] - 2022-07-03
|
||||
### Added
|
||||
@@ -2374,6 +2375,7 @@ All notable changes to this project will be documented in this file.
|
||||
[alpha 8]: https://github.com/jindrapetrik/jpexs-decompiler/compare/alpha7...alpha8
|
||||
[alpha 7]: https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/alpha7
|
||||
[#1834]: https://www.free-decompiler.com/flash/issues/1834
|
||||
[#1839]: https://www.free-decompiler.com/flash/issues/1839
|
||||
[#270]: https://www.free-decompiler.com/flash/issues/270
|
||||
[#1718]: https://www.free-decompiler.com/flash/issues/1718
|
||||
[#1801]: https://www.free-decompiler.com/flash/issues/1801
|
||||
|
||||
@@ -446,7 +446,7 @@ public class FrameExporter {
|
||||
}
|
||||
|
||||
int fframe = fframes.get(pos++);
|
||||
BufferedImage result = SWF.frameToImageGet(tim, fframe, fframe, null, 0, tim.displayRect, new Matrix(), null, fusesTransparency ? null : fbackgroundColor, settings.zoom).getBufferedImage();
|
||||
BufferedImage result = SWF.frameToImageGet(tim, fframe, 0, null, 0, tim.displayRect, new Matrix(), null, fusesTransparency ? null : fbackgroundColor, settings.zoom).getBufferedImage();
|
||||
|
||||
if (evl != null) {
|
||||
evl.handleExportedEvent("frame", pos, fframes.size(), tagName);
|
||||
@@ -588,7 +588,6 @@ public class FrameExporter {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
private static void drawText(float x, float y, Matrix trans, int textColor, Map<Integer, Font> existingFonts, FontTag font, String text, int textHeight, Graphics g) {
|
||||
int fontId = font.getFontId();
|
||||
PDFGraphics g2 = (PDFGraphics) g;
|
||||
|
||||
Reference in New Issue
Block a user