OpenSceneGraph icon indicating copy to clipboard operation
OpenSceneGraph copied to clipboard

Fix for Optimizer handling of Switch nodes

Open cj-mcdonald opened this issue 4 years ago • 0 comments

If Geometry nodes are directly attached to a Switch node (without using Geodes) then the Optimizer MergeGeometryVisitor incorrectly merges them all together. Simple fix to not merge directly attached Geometry nodes, but still traverse other child types.

cj-mcdonald avatar Jul 16 '21 12:07 cj-mcdonald