Blender Git Commit Log

Git Commits -> Revision 3810bcc

Revision 3810bcc by Jacques Lucke (master)
April 15, 2021, 07:00 (GMT)
Spreadsheet: breadcrumbs and node pinning

This introduces a context path to the spreadsheet editor, which contains
information about what data is shown in the spreadsheet. The context
path (breadcrumbs) can reference a specific node in a node group
hierarchy. During object evaluation, the geometry nodes modifier checks
what data is currently requested by visible spreadsheets and stores
the corresponding geometry sets separately for later access.

The context path can be updated by the user explicitely, by clicking
on the new icon in the header of nodes. Under some circumstances,
the context path is updated automatically based on Blender's context.

This patch also consolidates the "Node" and "Final" object evaluation
mode to just "Evaluated". Based on the current context path, either
the final geometry set of an object will be displayed, or the data at
a specific node.

The new preview icon in geometry nodes now behaves more like
a toggle. It can be clicked again to clear the context path in an
open spreadsheet editor.

Previously, only an object could be pinned in the spreadsheet editor.
Now it is possible to pin the entire context path. That allows two
different spreadsheets to display geometry data from two different
nodes.

The breadcrumbs in the spreadsheet header can be collapsed by
clicking on the arrow icons. It's not ideal but works well for now.
This might be changed again, if we get a data set region on the left.

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

Commit Details:

Full Hash: 3810bcc1604756f433b5b799b66d8b81645767ca
Parent Commit: 0bac768
Lines Changed: +1101, -206

3 Added Paths:

/source/blender/editors/include/ED_spreadsheet.h (+43, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_breadcrumb.cc (+306, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_breadcrumb.hh (+27, -0) (View)

22 Modified Paths:

/release/scripts/startup/bl_operators/node.py (+57, -0) (Diff)
/release/scripts/startup/bl_operators/spreadsheet.py (+36, -4) (Diff)
/release/scripts/startup/bl_ui/space_spreadsheet.py (+60, -6) (Diff)
/source/blender/blenkernel/BKE_object.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+14, -8) (Diff)
/source/blender/blenkernel/intern/screen.c (+52, -2) (Diff)
/source/blender/blenlib/BLI_multi_value_map.hh (+6, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+7, -2) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+14, -0) (Diff)
/source/blender/editors/space_node/node_draw.cc (+1, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+0, -49) (Diff)
/source/blender/editors/space_node/node_ops.c (+0, -1) (Diff)
/source/blender/editors/space_spreadsheet/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/space_spreadsheet/space_spreadsheet.cc (+107, -9) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc (+16, -7) (Diff)
/source/blender/editors/util/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -2) (Diff)
/source/blender/makesdna/DNA_space_types.h (+47, -4) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+183, -33) (Diff)
/source/blender/makesrna/RNA_access.h (+4, -0) (Diff)
/source/blender/modifiers/intern/MOD_nodes.cc (+106, -77) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021