diff options
| author | Viraj Mahesh <virajmahesh@gmail.com> | 2014-02-25 17:01:09 -0800 |
|---|---|---|
| committer | Viraj Mahesh <virajmahesh@gmail.com> | 2014-02-25 17:01:09 -0800 |
| commit | 341d27092e3381d15f8d2c041de8dbd9ec61a29b (patch) | |
| tree | 5438fc56a5c39675afe15bbd4de2fbebad09686b | |
| parent | dc4e9a5c1c4a0d3bc7a585bf6f8878dee830d040 (diff) | |
| download | snap-byow-341d27092e3381d15f8d2c041de8dbd9ec61a29b.tar.gz snap-byow-341d27092e3381d15f8d2c041de8dbd9ec61a29b.zip | |
Fixed incomplete code
| -rw-r--r-- | objects.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 ///////////////////////////////////////////////// |
