diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/XamlExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/XamlExporter.java index 709cebc6e..5dd3f75bf 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/XamlExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/XamlExporter.java @@ -1039,8 +1039,8 @@ public class XamlExporter { if (depthState.clipDepth > -1) { writer.writeStartElement("Canvas"); - writer.writeStartElement("Canvas.Clip"); if (character instanceof ShapeTag) { + writer.writeStartElement("Canvas.Clip"); ShapeTag shape = (ShapeTag) character; Matrix matrix = depthState.matrix == null ? new Matrix() : new Matrix(depthState.matrix); matrix = matrix.preConcatenate(zoomMatrix); @@ -1048,8 +1048,10 @@ public class XamlExporter { exporter.export(); String shapeGeometry = exporter.getResultAsString(); writer.writeCharactersRaw(shapeGeometry); + writer.writeEndElement(); //Canvas.Clip + } else { + //TODO: Create shape from sprites, etc. } - writer.writeEndElement(); //Canvas.Clip clipDepths.push(depthState.clipDepth); continue; }