From b83d4d83bf521b34b878662c7f145cc9286f096a Mon Sep 17 00:00:00 2001 From: Gubolin Date: Sat, 7 Mar 2015 19:28:18 +0100 Subject: add Todo with workaround --- objects.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'objects.js') diff --git a/objects.js b/objects.js index 9fc4808..116c792 100644 --- a/objects.js +++ b/objects.js @@ -4428,6 +4428,12 @@ StageMorph.prototype.init = function (globals) { try { model = ide.serializer.parse(data); message = ide.serializer.loadValue(model); + + // TODO: If a Context is sent, a new Sprite appears. + // This below is just a workaround for one-level rings, + // objects should be cleaned recursively. + message.receiver = null; + message.outerContext = null; } catch (err) { console.log(err); // DEBUG // Ok, it does not seem to be XML. It must be a string then. -- cgit v1.3.1