Psyop / Cryptomatte

Cryptomatte Nuke plugin, Fusion plugin, sample images, and specification
BSD 3-Clause "New" or "Revised" License
637 stars 152 forks source link

Cryptomatte pickerAdd,pickerRemove knob issue #38

Closed kerekb closed 6 years ago

kerekb commented 7 years ago

Hey there!

We updated to the latest Cryptomatte and on Windows i see no problem, but linux renders give an error. We found out, that using the pickers will add an array as the knob value.

pickerAdd {0.09262084961 0.2319335938 0.177734375 0 372 482 373 483}

If we override this before the actual render to 0, everything works OK.

Not sure if anybody else encountered this issue, but I had to zero these values out for every single cryptomatte node in the scene to be able to render it without freeze on Linux. On Windows this works.

jonahfriedman commented 7 years ago

Hi @kerekb,

Thanks for reporting. Could you give a little more information? What version of Nuke, and what is the error?

jonahfriedman commented 7 years ago

Also, if you would like it'd help me if you could try an experiment.

In the gizmo, could you add +DO_NOT_WRITE to the lines that create those knobs, and see if that fixes the issue? (Or at least keeps the issue from affecting newly created gizmos).

kerekb commented 7 years ago

Adding +DO_NOT_WRITE to the end of the addUserKnob at line 11,15 for the Gizmo fixes this issue! Thanks!

jonahfriedman commented 7 years ago

Thanks, that helps a lot. I'll leave this ticket open until we incorporate that in the next version (if everything goes well).

In the meantime, if you could help by keep a lookout for this issue coming back, to confirm that this really does fix it, I'd appreciate it.

jonahfriedman commented 6 years ago

The change we talked about will be in the next version.