From 341d27092e3381d15f8d2c041de8dbd9ec61a29b Mon Sep 17 00:00:00 2001 From: Viraj Mahesh Date: Tue, 25 Feb 2014 17:01:09 -0800 Subject: Fixed incomplete code --- objects.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/objects.js b/objects.js index c357f73..f7ce467 100644 --- a/objects.js +++ b/objects.js @@ -3706,6 +3706,9 @@ SpriteMorph.prototype.doScreenshot = function() { console.log('Testing screenshot'); var parent = this.parentThatIsA(StageMorph); var image = parent.fullImageClassic(); + var ide = this.parentThatIsA(IDE_Morph); + var costume = new Costume(image); + ide.currentSprite.addCostume(image); }; // SpriteHighlightMorph ///////////////////////////////////////////////// -- cgit v1.3.1