From c0a0c1f4a7a9f3cfd055288817530cf7c46bb26d Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 17 Sep 2013 17:25:42 +0200 Subject: fixed part of #154 - prevent costumes from being drawn while they are loading prevents an occasional DOM error saying "an attempt was made to use an object that is not, or is no longer, usable" when loading a project that has costumes --- store.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'store.js') diff --git a/store.js b/store.js index 41e198a..e51c8da 100644 --- a/store.js +++ b/store.js @@ -61,7 +61,7 @@ SyntaxElementMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.store = '2013-August-10'; +modules.store = '2013-September-17'; // XML_Serializer /////////////////////////////////////////////////////// @@ -673,6 +673,7 @@ SnapSerializer.prototype.loadCostumes = function (object, model) { } else { costume.loaded = function () { object.wearCostume(costume); + this.loaded = true; }; } } -- cgit v1.3.1