Georgy,

In the constructor for your plugin class specifically call 'inputs' and pass it 
the number of inputs you need.  Thus if you have one main input and one 
optional mask input, it would be:

    Inputs(2);

This, combined with the 'optional_input' call, should cause the input to be on 
the RIGHT.  If you use minimum_ and maximum_inputs, the inputs will be stacked 
on the LEFT.  I've not tried to do both.

Steve

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Georgiy Osipov
Sent: Monday, May 21, 2012 12:30 AM
To: Nuke plug-in development discussion
Subject: [Nuke-dev] 2 optional inputs

Hi all!

Some Nuke plugins have more than one optional inputs, that displayed at left 
and right side of a node. If you specify int Op::optional_input () const to 
make more than one optional inputs, all handlers are displayed at the right 
side. How to move one of input handlers to the left side?

-Georgy
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/ 
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
(CONFIDENTIALITY NOTICE: The information contained in this email may be 
confidential and/or privileged. This email is intended to be reviewed by only 
the individual or organization named above. If you are not the intended 
recipient, or an authorized representative of the intended recipient, you are 
hereby notified that any review, dissemination or copying of this email, or the 
information contained herein is strictly prohibited. If you have received this 
communication in error, please notify the sender by return email and delete 
this email from your system. Thank You.)

_______________________________________________
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