fix cs6 export problem

This commit is contained in:
2017-02-14 03:33:15 +07:00
parent f098bfc9bc
commit 7e95d6b49a
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------
-- Version 1.3.4 --
-------------------
Fix CS6 export problem
-------------------
-- Version 1.3.3 --
-------------------

View File

@@ -685,7 +685,7 @@
ft.array_foreach(layer.frames, function (frame, frame_index) {
ft.array_foreach(frame.elements, function (elem) {
var elem_filters = elem.filters;
if (Array.isArray(elem_filters)) {
if (elem_filters && elem_filters !== undefined) {
ft.array_foreach(elem_filters, function (elem_filter, filter_index) {
elem_filter.blurX *= scale;
elem_filter.blurY *= scale;