Inherit pattern dimensions and precision from the background

This commit is contained in:
chasse20 committed 2026-11-27 12:01:13 -05:00
1 parent e451dad109
commit 0cb32afbeb
8 files changed
+72 -12

No files matched your search

+1 -1
View File
@@ -310,7 +310,7 @@ pub(crate) fn cook_node(
let started_ms = now_ms();
let mut output_bases: Option<Arc<[_]>> = None;
let result: Result<Vec<NodeOutput>, String> = if node.disabled {
let input = if let Some(primary) = definition.and_then(|definition| definition.primary_input) {
let input = if let Some(primary) = definition.and_then(|definition| definition.bypass_input) {
input_ports.iter().position(|port| port.id == primary).and_then(|index| incoming.get(index)).copied().flatten()
} else {
incoming.iter().find_map(|output| *output)