Blender Git Commit Log

Git Commits -> Revision 5bfe09d

Revision 5bfe09d by Jacques Lucke (master)
October 26, 2021, 09:25 (GMT)
Geometry Nodes: support viewing field values in spreadsheet

The viewer node has been expanded to have a field input next to the
geometry input. When both are connected (by ctrl+shift clicking on a node)
the spreadsheet will show the evaluated field on the geometry.

The operator to link to the viewer has become a bit smarter. It automatically
detects if it should link to the geometry or field input. In the future some more
smartness could be added, such as automatically relinking the "right" geometry
when viewing a field.

Internally, there are two major changes:
* Refactor of what happens when ctrl+shift clicking on a node to link to
a viewer. The behavior of the geometry nodes viewer is a bit more complex
than that of the compositor viewers. The behavior in compositing nodes
should not have changed. Any change should be reported as a bug (and then
we can decide if it's worse than before or if it needs fixing).
* Evaluation, display and caching of fields in the spreadsheet editor.

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

Commit Details:

Full Hash: 5bfe09df2244cb9de0b6554a378eecef77b1e75d
Parent Commit: fee2ced
Lines Changed: +840, -210

2 Added Paths:

/source/blender/editors/space_spreadsheet/spreadsheet_cache.cc (+79, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_cache.hh (+78, -0) (View)

14 Modified Paths:

/source/blender/blenloader/intern/versioning_300.c (+17, -0) (Diff)
/source/blender/editors/space_node/node_relationships.cc (+236, -118) (Diff)
/source/blender/editors/space_spreadsheet/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/space_spreadsheet/space_spreadsheet.cc (+49, -17) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_column_values.hh (+0, -5) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source.hh (+5, -1) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc (+241, -56) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.hh (+32, -6) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_intern.hh (+17, -5) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_layout.cc (+3, -1) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+14, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_viewer.cc (+61, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021