mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 06:38:11 +08:00
Expose the secondary input for Logical And and Or nodes (#3711)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user