diff --git a/src/com/jpexs/decompiler/flash/gui/ImagePanel.java b/src/com/jpexs/decompiler/flash/gui/ImagePanel.java index e418020ae..e7f97bee4 100644 --- a/src/com/jpexs/decompiler/flash/gui/ImagePanel.java +++ b/src/com/jpexs/decompiler/flash/gui/ImagePanel.java @@ -675,13 +675,13 @@ public final class ImagePanel extends JPanel implements MediaDisplay { return; } - /*if (selectedDepths.size() == 1) { + if (selectedDepths.size() == 1) { ds = timeline.getFrame(frame).layers.get(selectedDepths.get(0)); - }*/ + } _viewRect = getViewRect(); - /*if (ds != null) { + /*if (ds != null && !selectionMode) { CharacterTag cht = ds.getCharacter(); if (cht != null) { if (cht instanceof DrawableTag) { @@ -3265,7 +3265,7 @@ public final class ImagePanel extends JPanel implements MediaDisplay { if (temporaryMatrix != null) { Matrix tMatrix = temporaryMatrix; - tMatrix = tMatrix.concatenate(new Matrix(ds.temporaryMatrix)); + tMatrix = tMatrix.concatenate(new Matrix(ds.matrix)); Shape tempOutline = dt.getOutline(true, dframe, time, ds.ratio, renderContext, tMatrix, true, viewRect, zoom); gg.setStroke(new BasicStroke(1)); gg.setPaint(Color.black);