Fix in serialization

This commit is contained in:
Grzegorz 2018-09-15 21:46:29 +02:00 committed by Julian Descottes
parent 89629d2939
commit 6acfa2256c

View file

@ -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;