mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 01:48:13 +08:00
Layer-based nodes redesign, just the basics so far (#1362)
* Redesign the nodes * Basic vertical stacking syntax sugar * Fix node connections * Primary output and line thickness --------- Co-authored-by: 0hypercube <0hypercube@gmail.com>
This commit is contained in:
co-authored by
0hypercube
parent
94a0f8282e
commit
3450d638a6
@@ -790,7 +790,7 @@ fn get_subpaths<'a>(layer_path: &[LayerId], document: &'a DocumentMessageHandler
|
||||
let layer = document.document_legacy.layer(layer_path).ok().and_then(|layer| layer.as_layer().ok())?;
|
||||
let network = &layer.network;
|
||||
for (node, _node_id) in network.primary_flow() {
|
||||
if node.name == "Path Generator" {
|
||||
if node.name == "Shape" {
|
||||
let subpaths_input = node.inputs.get(0)?;
|
||||
let NodeInput::Value {
|
||||
tagged_value: TaggedValue::Subpaths(subpaths),
|
||||
|
||||
Reference in New Issue
Block a user