mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Remove todo
This commit is contained in:
parent
6763355d00
commit
2a032be1a9
1 changed files with 4 additions and 4 deletions
|
@ -228,11 +228,11 @@ const loadCostume = function (md5ext, costume, runtime, optVersion) {
|
|||
let costumePromise;
|
||||
let textLayerPromise;
|
||||
if (costume.asset) {
|
||||
// TODO if text asset exists, merge the 2 assets, put it back in storage, clean up text layer
|
||||
// data from costume and return the costume with merged asset here.
|
||||
|
||||
// Costume comes with asset. It could be coming from camera, image upload, drag and drop, or sb file
|
||||
// Costume comes with asset. It could be coming from camera, image upload, drag and drop, or file
|
||||
costumePromise = Promise.resolve(costume.asset);
|
||||
if (costume.textLayerPromise) {
|
||||
textLayerPromise = Promise.resolve(costume.textLayerAsset);
|
||||
}
|
||||
} else {
|
||||
// Need to load the costume from storage. The server should have a reference to this md5.
|
||||
if (!runtime.storage) {
|
||||
|
|
Loading…
Reference in a new issue