Blender Git Commit Log

Git Commits -> Revision 799f532

Revision 799f532 by Eitan (master)
April 19, 2021, 08:38 (GMT)
Geometry Nodes: new Switch node

This is a first iteration of a switch node. It can only switch between
two inputs values based on a boolean. A more sophisticated switch
node that has an integer selector will probably come later.

Currently, the geometry nodes evaluator does not support lazy evaluation
of individual inputs. Therefore, all inputs will be computed currently.
An improvement to the evaluator will be worked on separately.

Ref: T85374

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

Commit Details:

Full Hash: 799f532f4698ff07353a384ed99131042b5e05de
Parent Commit: 112fb77
Committed By: Jacques Lucke
Lines Changed: +224, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_switch.cc (+163, -0) (View)

8 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+50, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021