Expose the secondary input for Logical And and Or nodes (#3711)
This commit is contained in:
parent
f36d455d03
commit
7e436f48f9
|
|
@ -705,6 +705,7 @@ fn logical_or(
|
||||||
/// One of the two boolean values, either of which may be true for the node to output true.
|
/// One of the two boolean values, either of which may be true for the node to output true.
|
||||||
value: bool,
|
value: bool,
|
||||||
/// The other of the two boolean values, either of which may be true for the node to output true.
|
/// The other of the two boolean values, either of which may be true for the node to output true.
|
||||||
|
#[expose]
|
||||||
other_value: bool,
|
other_value: bool,
|
||||||
) -> bool {
|
) -> bool {
|
||||||
value || other_value
|
value || other_value
|
||||||
|
|
@ -717,6 +718,7 @@ fn logical_and(
|
||||||
/// One of the two boolean values, both of which must be true for the node to output true.
|
/// One of the two boolean values, both of which must be true for the node to output true.
|
||||||
value: bool,
|
value: bool,
|
||||||
/// The other of the two boolean values, both of which must be true for the node to output true.
|
/// The other of the two boolean values, both of which must be true for the node to output true.
|
||||||
|
#[expose]
|
||||||
other_value: bool,
|
other_value: bool,
|
||||||
) -> bool {
|
) -> bool {
|
||||||
value && other_value
|
value && other_value
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue