From a7a1b54244c91d247511309cddfc9c4c4d895a80 Mon Sep 17 00:00:00 2001 From: Viraj Mahesh Date: Tue, 11 Mar 2014 02:38:11 -0700 Subject: Option of switching between pen trails and stage image has been implemented Stage saves pen trails too --- objects.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'objects.js') diff --git a/objects.js b/objects.js index 5d3237e..52abac1 100644 --- a/objects.js +++ b/objects.js @@ -3717,11 +3717,11 @@ SpriteMorph.prototype.doScreenshot = function (imgSource, data) { this.screenshotNames[data] = 0; } if (imgSource[0] === "pen trails") { - canvas = stage.penTrails(); + canvas = stage.trailsCanvas; } else if (imgSource[0] === "stage image") { canvas = stage.fullImageClassic(); } - costume = new Costume(canvas, data); + costume = new Costume(canvas, data).copy(); this.addCostume(costume); }; -- cgit v1.3.1