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:
1 file changed
+1
@@ -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}`;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user