OpenSceneGraph
OpenSceneGraph copied to clipboard
Fix for Optimizer handling of Switch nodes
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.