image rendering fixed

This commit is contained in:
Honfika
2014-01-29 11:21:15 +01:00
parent 5c5106b1c1
commit 3f2adbf8f6
19 changed files with 49 additions and 80 deletions

View File

@@ -2136,7 +2136,8 @@ public final class SWF implements TreeItem {
if (character instanceof DrawableTag) {
DrawableTag drawable = (DrawableTag) character;
SerializableImage img = drawable.toImage(layer.ratio < 0 ? 0 : layer.ratio/*layer.duration*/, allTags, mat, characters, visited);
SerializableImage img = drawable.toImage(layer.ratio < 0 ? 0 : layer.ratio/*layer.duration*/, allTags, characters, visited);
mat.translate(img.bounds.getMinX(), img.bounds.getMinY());
/*if (character instanceof BoundedTag) {
BoundedTag bounded = (BoundedTag) character;
RECT rect = bounded.getRect(characters, visited);