Page MenuHome

Geometry Node: Dangling input in Viewer node
ClosedPublic

Authored by Iliya Katueshenock (Moder) on Oct 23 2022, 4:29 PM.

Details

Summary

Geometry Node: Dangling input in Viewer node

Dangling inputs should not produce a value.
Since the preview node runs in the implementation of the lazy function, it needs to do check this in the constructor.

BeforeAfter

Diff Detail

Event Timeline

Iliya Katueshenock (Moder) requested review of this revision.Oct 23 2022, 4:29 PM
Iliya Katueshenock (Moder) created this revision.
source/blender/nodes/intern/geometry_nodes_lazy_function.cc
530

It's a big weird to put all of that into the if condition. Can you simplify this code a bit?

Iliya Katueshenock (Moder) marked an inline comment as done.

Old habit.

This revision is now accepted and ready to land.Oct 23 2022, 7:35 PM