mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 21:48:12 +08:00
Fix default type for Identity node (#1051)
This commit is contained in:
committed by
Keavon Chambers
parent
069a2351f2
commit
c09af266d8
+1
-1
@@ -98,7 +98,7 @@ fn static_nodes() -> Vec<DocumentNodeType> {
|
|||||||
inputs: vec![DocumentInputType {
|
inputs: vec![DocumentInputType {
|
||||||
name: "In",
|
name: "In",
|
||||||
data_type: FrontendGraphDataType::General,
|
data_type: FrontendGraphDataType::General,
|
||||||
default: NodeInput::node(0, 0),
|
default: NodeInput::value(TaggedValue::None, true),
|
||||||
}],
|
}],
|
||||||
outputs: vec![DocumentOutputType::new("Out", FrontendGraphDataType::General)],
|
outputs: vec![DocumentOutputType::new("Out", FrontendGraphDataType::General)],
|
||||||
properties: |_document_node, _node_id, _context| node_properties::string_properties("The identity node simply returns the input"),
|
properties: |_document_node, _node_id, _context| node_properties::string_properties("The identity node simply returns the input"),
|
||||||
|
|||||||
Reference in New Issue
Block a user