jit.gl.sketch Javascript Loading Issue

    Apr 03 2012 | 5:56 pm
    I have a patch using two instances of jit.gl.sketch inside of javascript. When first opening the patch, and calling a method to draw something, neither of them display anything. However, if I go into the javascript editor, resave the code (without making changes), and then call the method again, it works as expected.
    My JitterObjects in the javascript are declared in global code so they should be created at launch. Is this the problem?

    • Apr 04 2012 | 6:02 am
      More detail on the problem: It's resulting from a screentoworld method performed on one of the contained sketch objects, which reports the correct values unpredictably. Occasionally, reloading/recompiling the js makes it work, but sometimes not.
    • Apr 04 2012 | 3:35 pm
      if you can narrow down the problem and post the code and example patch, we may be able to offer some suggestions.