diff --git a/stitchcode/gui.js b/stitchcode/gui.js index 6b4466e7..c589e62e 100644 --- a/stitchcode/gui.js +++ b/stitchcode/gui.js @@ -2953,10 +2953,10 @@ IDE_Morph.prototype.droppedImage = function (aCanvas, name) { ); return; } - this.loadAsBackgroundOrData(costume) + this.loadAsBackgroundOrData(costume, name) } -IDE_Morph.prototype.loadAsBackgroundOrData = function (costume) { +IDE_Morph.prototype.loadAsBackgroundOrData = function (costume, name) { var myself = this; var stage = this.stage; var dlg, world = this.world(); diff --git a/stitchcode/objects.js b/stitchcode/objects.js index e03493fe..f5bb7b43 100644 --- a/stitchcode/objects.js +++ b/stitchcode/objects.js @@ -3291,7 +3291,7 @@ StageMorph.prototype.loadCameraSnapshot = function() { sprite, nop, costume => { - ide.loadAsBackgroundOrData(costume) + ide.loadAsBackgroundOrData(costume, 'snapshot') }); camDialog.key = 'camera';