From f2b733c91e19416b2272b4ce453adf4978298ac1 Mon Sep 17 00:00:00 2001 From: juliandescottes Date: Thu, 11 May 2017 01:46:21 +0200 Subject: [PATCH] Fix #684 - import GIF as spritesheet failed --- src/js/service/ImportService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/service/ImportService.js b/src/js/service/ImportService.js index adbb12547..9cf0c3f0c 100644 --- a/src/js/service/ImportService.js +++ b/src/js/service/ImportService.js @@ -61,7 +61,7 @@ this.createPiskelFromImages_(images, frameSizeX, frameSizeY, options.smoothing); } else { // Spritesheet - var frameImages = this.createImagesFromSheet_(images[0]); + var frameImages = this.createImagesFromSheet_(images[0], frameSizeX, frameSizeY, frameOffsetX, frameOffsetY); this.createPiskelFromImages_(frameImages, frameSizeX, frameSizeY, options.smoothing); } onComplete();