Hi,
that did the trick. There was also one thing missing. I had to set maximum_inputs and minimum_inputs to 1 and 0 to make it work.

regards
Adam


Hi Nico,

that's quite straight forward if you subclass from DrawOp.

otherwise:

you do an Iop and then you test for an input

say

Iop * myInputOp = dynamic_cast<Iop *>(input(0))

then test this myInputOp to break if false

that should do the trick.

Merry xmas

L.


_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to