Page MenuHome

Fix T94162: Incorrect handling when there are multiple group outputs.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Dec 17 2021, 1:53 PM.

Details

Summary

Typically a node group should only have a single Group Output node. However, currently Blender already supports having multiple group outputs, one of which is active. This wasn't handled correctly by geometry nodes.

Diff Detail

Repository
rB Blender
Branch
use-active-group-output (branched from master)
Build Status
Buildable 19510
Build 19510: arc lint + arc unit

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Dec 17 2021, 1:53 PM
Jacques Lucke (JacquesLucke) created this revision.

Make sense!

source/blender/nodes/NOD_node_tree_ref.hh
283

It might be helpful to add a comment here that this is the active group output node if there are multiple.

source/blender/nodes/intern/node_tree_ref.cc
124

.first()?

This revision is now accepted and ready to land.Dec 17 2021, 2:50 PM