mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
grrmml
This commit is contained in:
parent
5502d75ca5
commit
17a147c880
@ -37,7 +37,7 @@
|
||||
piskel.addLayer(layer);
|
||||
});
|
||||
} else {
|
||||
piskel = pskl.utils.Serializer.__backwardDeserializer(data);
|
||||
piskel = pskl.utils.Serializer.backwardDeserializer_(data);
|
||||
}
|
||||
|
||||
return piskel;
|
||||
@ -63,7 +63,7 @@
|
||||
/**
|
||||
* Deserialize old piskel framesheets. Initially piskels were stored as arrays of frames : "[[pixelGrid],[pixelGrid],[pixelGrid]]".
|
||||
*/
|
||||
__backwardDeserializer : function (frames) {
|
||||
backwardDeserializer_ : function (frames) {
|
||||
var layer = new pskl.model.Layer('Layer 1');
|
||||
frames.forEach(function (frame) {
|
||||
layer.addFrame(pskl.model.Frame.fromPixelGrid(frame));
|
||||
|
Loading…
Reference in New Issue
Block a user