Closed samdoshi closed 6 years ago
good thinking. i certainly had not considered this.
On Tue, Apr 12, 2016 at 4:41 AM, Sam Doshi notifications@github.com wrote:
This is a hypothetical failure, I haven't actually tested it.
It would be possible to create an infinite loop of SCENE loads, if those loads are trigger by the I script on scene load (or any script that it calls).
We should prevent SCENE running when the I script is triggered on load, but not when I is running via SCRIPT and a manual trigger.
I think the way I'd implement this is to modify the execution state / context to include a member is_scene_initialising and use that to prevent any actions we don't want run.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/monome/teletype/issues/35
This is a hypothetical failure, I haven't actually tested it.
It would be possible to create an infinite loop of
SCENE
loads, if those loads are trigger by theI
script on scene load (or any script that it calls).We should prevent
SCENE
running when theI
script is triggered on load, but not whenI
is running viaSCRIPT
and a manual trigger.I think the way I'd implement this is to modify the execution state / context to include a member
is_scene_initialising
and use that to prevent any actions we don't want run.