From e58a04791d4435ceab1f7a9f87d3df023d9f7746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 18 May 2014 20:56:55 +0200 Subject: [PATCH] Morphshape canvas export fix - missing end bracket --- .../flash/exporters/morphshape/CanvasMorphShapeExporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/jpexs/decompiler/flash/exporters/morphshape/CanvasMorphShapeExporter.java b/src/com/jpexs/decompiler/flash/exporters/morphshape/CanvasMorphShapeExporter.java index d083fe6c7..ec65bcec1 100644 --- a/src/com/jpexs/decompiler/flash/exporters/morphshape/CanvasMorphShapeExporter.java +++ b/src/com/jpexs/decompiler/flash/exporters/morphshape/CanvasMorphShapeExporter.java @@ -526,7 +526,7 @@ public class CanvasMorphShapeExporter extends MorphShapeExporterBase { } private String useRatioColor(RGB color, RGB colorEnd) { - return "tocolor(ctrans.apply([" + useRatioInt(color.red, colorEnd.red) + "," + useRatioInt(color.green, colorEnd.green) + "," + useRatioInt(color.blue, colorEnd.blue) + ",((" + useRatioInt((color instanceof RGBA) ? ((RGBA) color).alpha : 255, (colorEnd instanceof RGBA) ? ((RGBA) colorEnd).alpha : 255) + ")/255)))"; + return "tocolor(ctrans.apply([" + useRatioInt(color.red, colorEnd.red) + "," + useRatioInt(color.green, colorEnd.green) + "," + useRatioInt(color.blue, colorEnd.blue) + ",((" + useRatioInt((color instanceof RGBA) ? ((RGBA) color).alpha : 255, (colorEnd instanceof RGBA) ? ((RGBA) colorEnd).alpha : 255) + ")/255)]))"; } }