From 23298bd18f30e92ba055b73e90f4084622add0ec Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Fri, 21 Dec 2018 16:04:39 -0500 Subject: [PATCH] Fix issue where uploading an sb with jpg images wasn't saving and loading properly. --- src/import/load-costume.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/import/load-costume.js b/src/import/load-costume.js index a94852afb..f04ff8498 100644 --- a/src/import/load-costume.js +++ b/src/import/load-costume.js @@ -158,6 +158,7 @@ const loadBitmap_ = function (costume, runtime, rotationCenter) { null, true // generate md5 ); + costume.dataFormat = storage.DataFormat.PNG; costume.assetId = costume.asset.assetId; costume.md5 = `${costume.assetId}.${costume.dataFormat}`; };