diff --git a/node-graph/src/nodes.rs b/node-graph/src/nodes.rs index d544e112..94bdd0b4 100644 --- a/node-graph/src/nodes.rs +++ b/node-graph/src/nodes.rs @@ -169,12 +169,12 @@ impl<'n, 'c, CachedNode: Node> CacheNode<'n, 'c, CachedNode> { pub struct ProxyNode(T); impl Node for ProxyNode { - type Output<'a> = T where Self: 'a; + type Output<'a> = &'a T where Self: 'a; type Input<'a> = &'a () where Self: 'a; - fn eval<'a, I: Borrow>>(&'a self, input: I) -> Self::Output<'a> { - todo!() + fn eval<'a, I: Borrow>>(&'a self, _input: I) -> Self::Output<'a> { + &self.0 } } impl DynamicInput for ProxyNode {