mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Fix deleting the shape node (#1411)
This commit is contained in:
parent
a2db95d18b
commit
fe8e1da8ed
1 changed files with 1 additions and 4 deletions
|
|
@ -2474,10 +2474,7 @@ pub fn new_vector_network(subpaths: Vec<bezier_rs::Subpath<uuid::ManipulatorGrou
|
|||
let stroke = resolve_document_node_type("Stroke").expect("Stroke node does not exist");
|
||||
let output = resolve_document_node_type("Output").expect("Output node does not exist");
|
||||
|
||||
let mut network = NodeNetwork {
|
||||
inputs: vec![0],
|
||||
..Default::default()
|
||||
};
|
||||
let mut network = NodeNetwork::default();
|
||||
|
||||
network.push_node(
|
||||
path_generator.to_document_node_default_inputs([Some(NodeInput::value(TaggedValue::Subpaths(subpaths), false))], DocumentNodeMetadata::position((0, 4))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue