GL Tools 1.2 Beta Bug?

toneburst's picture

Hi,

think I've hit a bug with the GL Tools Quad Structure patch. If you change the Blend Mode while the patch is in a Render In Image, it seems to stop rendering and permanently corrupt the QTZ.

I've attached an example QTZ.

a|x

PreviewAttachmentSize
tb_Strokething_3 (trashed).qtz64.32 KB

cwright's picture
Re: GL Tools 1.2 Beta Bug?

Not blend-mode related. It's actually a timing problem, where QC thinks nothing will change downstream, so it's not evaluating the graph. Adding a __number ignored input to the javascript, and plugging in Patch Time seems to restore functionality. Not sure exactly why that's happening -- I'll look into that.

Let me know if the patch time trick isn't what you're after, and I'll investigate further.

toneburst's picture
Re: GL Tools 1.2 Beta Bug?

Ah... interesting. I wonder why it suddenly decided nothing was going to happen downstream when I fiddled with the Blend Mode. Seemed quite consistant, but maybe a coincidence. Thanks again for your wonderfulness, cwright, I will give it a go!!

a|x

toneburst's picture
Re: GL Tools 1.2 Beta Bug?

I have a suspicion it might have something to do with __index inputs to the JavaScript patches. I seem to remember a similar bug afflicted the CIFilter patch, when using __index inouts to the JavaScript panel, so it could be a symptom of the same thing, maybe....

Incidentally, do you happen to know if there is a one-step way of converting __structure inputs to a JS patch into standard JS Arrays, so they can be sorted, sliced etc.? I'm currently doing it by looping through all the items in the structure, adding them to the array, but this clearly isn't very efficient. Having said that, using JavaScript array tools seems much faster than using the builtin Structure Range patch to mess with a struct, even with all the extra type-conversion going on...

a|x