Merge pull request #1868 from kchadha/fix-sb1-jpg-upload

Fix issue where uploading an sb with jpg images wasn't saving and loading
This commit is contained in:
Paul Kaplan authored and GitHub committed 2018-12-21 16:08:12 -05:00
commit c26eeaede7
1 file changed
+1
+1
View File
@@ -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}`;
};