From 6acfa2256c79beff5d7653130b03e4675e55b95d Mon Sep 17 00:00:00 2001 From: Grzegorz Date: Sat, 15 Sep 2018 21:46:29 +0200 Subject: [PATCH] Fix in serialization --- src/js/utils/serialization/Serializer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/utils/serialization/Serializer.js b/src/js/utils/serialization/Serializer.js index 5bf6ad5a..f95f02dd 100644 --- a/src/js/utils/serialization/Serializer.js +++ b/src/js/utils/serialization/Serializer.js @@ -21,7 +21,7 @@ var serializedLayers = piskel.getLayers().map(function (l) { return pskl.utils.serialization.Serializer.serializeLayer(l); }); - var frames = pskl.app.piskelController.getLayerAt(0).getFrames(); + var frames = piskel.getLayerAt(0).getFrames(); var hiddenFrames = frames.map(function (frame, index) { if (frame.visible) { return -1;