Well, I just added that method to an existing plugin and it seems to work as
advertised:
/*virtual*/ int optional_input() const { return 2; }
/*virtual*/ int maximum_inputs() const { return 3; }
/*virtual*/ int minimum_inputs() const { return 3; }
And if I print Op::input(2) in _validate() I get the Op that I've connected the
optional arrow to.
-jonathan
On May 27, 2011, at 11:17 AM, Steve3D wrote:
> And if we're not using NukeWrapper, how do we set 'minimum_inputs'? I see no
> way to do it in the NDK help file.
> _______________________________________________
> Nuke-dev mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev