jit.gl.sketch Javascript Loading Issue

Apr 3, 2012 at 5:56pm

jit.gl.sketch Javascript Loading Issue

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?

#62751
Apr 4, 2012 at 6:02am

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.

#226567
Apr 4, 2012 at 3:35pm

if you can narrow down the problem and post the code and example patch, we may be able to offer some suggestions.

#226568

You must be logged in to reply to this topic.