Blender Git Commit Log

Git Commits -> Revision 34cf33e

Revision 34cf33e by Johnny Matthews (master)
October 2, 2021, 22:34 (GMT)
Geometry Nodes: Switch Node Fields Update

This update of the Switch node allows for field compatible types
to be switched through the node. This includes the following:

Float, Int, Bool, String, Vector, and Color

The remaining types are processed with the orginal code:

Geometry, Object, Collection, Texture, and Material

Because the old types require a diffent "switch" socket than the
field types, versioning for old files is included to move links
of those types to a new switch socket. Once fields of other types
are supported, this node can be updated to support them as well.

Differential Revision: https://developer.blender.org/D12642

Commit Details:

Full Hash: 34cf33eb12099d3a1940de070d7dc7e88e3bebc7
Parent Commit: 54927ca
Lines Changed: +171, -55

3 Modified Paths:

/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+26, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_switch.cc (+144, -54) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021