Allow the Path tool to edit an upstream path even if there's a type conversion midway (#2055)

Remove type check when iterating upstream

Convert to doc comment
This commit is contained in:
adamgerhant 2024-10-26 11:39:48 -07:00 committed by GitHub
parent b1399af5cd
commit ff8fec6eca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 13 deletions

View file

@ -547,7 +547,9 @@ async fn flatten_vector_elements<F: 'n + Send>(
graphic_group_input: impl Node<F, Output = GraphicGroup>,
) -> VectorData {
let graphic_group = graphic_group_input.eval(footprint).await;
// A node based solution to support passing through vector data could be a network node with a cache node connected to
// a flatten vector elements connected to an if else node, another connection from the cache directly
// To the if else node, and another connection from the cache to a matches type node connected to the if else node.
fn concat_group(graphic_group: &GraphicGroup, current_transform: DAffine2, result: &mut VectorData) {
for (element, reference) in graphic_group.iter() {
match element {