diff options
| author | Gubolin <gubolin@fantasymail.de> | 2015-03-07 19:28:18 +0100 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2015-03-07 19:28:18 +0100 |
| commit | b83d4d83bf521b34b878662c7f145cc9286f096a (patch) | |
| tree | 4998c207d00678e85831ea5fd04465fcf4864732 | |
| parent | cdf8ce4e14f7c8fc12b519df8b4f5e1b33b67e60 (diff) | |
| download | snap-yow-b83d4d83bf521b34b878662c7f145cc9286f096a.tar.gz snap-yow-b83d4d83bf521b34b878662c7f145cc9286f096a.zip | |
add Todo with workaround
| -rw-r--r-- | objects.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |
