From bef0e7a790119f3602683a144b9ddf894cb4d013 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 29 Jul 2014 12:03:06 +0200 Subject: [PATCH] export and import nested sprites --- gui.js | 2 +- history.txt | 1 + store.js | 21 ++++++++++++++++++++- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/gui.js b/gui.js index 7e985490..e4c75dd1 100644 --- a/gui.js +++ b/gui.js @@ -2850,7 +2850,7 @@ IDE_Morph.prototype.exportGlobalBlocks = function () { }; IDE_Morph.prototype.exportSprite = function (sprite) { - var str = this.serializer.serialize(sprite); + var str = this.serializer.serialize(sprite.allParts()); window.open('data:text/xml,