Box TaggedValue::VectorModification (#1995)

This commit is contained in:
Dennis Kobert 2024-09-20 21:39:35 +02:00 committed by GitHub
parent 664e7f89b5
commit 768ca0c535
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -844,7 +844,7 @@ impl EditorHandle {
if let Some((node_id, modification)) = shape {
let node_type = resolve_document_node_type("Path").unwrap();
let document_node = node_type
.node_template_input_override([None, Some(NodeInput::value(TaggedValue::VectorModification(modification), false))])
.node_template_input_override([None, Some(NodeInput::value(TaggedValue::VectorModification(Box::new(modification)), false))])
.document_node;
let node_metadata = document.network_interface.node_metadata(&node_id, &[]).cloned().unwrap_or_default();