From c38a054d4a469ea3a4a223ca013418c0d97731db Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Thu, 20 Dec 2018 19:29:37 -0500 Subject: [PATCH] Fix issue where uploading the default vector image in place of a broken image was not correctly setting the costume's md5. --- 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 b8a1ff8c0..a94852afb 100644 --- a/src/import/load-costume.js +++ b/src/import/load-costume.js @@ -219,6 +219,7 @@ const loadCostumeFromAsset = function (costume, runtime, optVersion) { // Use default asset if original fails to load costume.assetId = runtime.storage.defaultAssetId.ImageVector; costume.asset = runtime.storage.get(costume.assetId); + costume.md5 = `${costume.assetId}.${AssetType.ImageVector.runtimeFormat}`; return loadVector_(costume, runtime); }); }