Blender Git Loki

Git Commits -> Revision 3dab6f8

Revision 3dab6f8 by Jacques Lucke (master)
March 10, 2021, 10:35 (GMT)
Spreadsheet: new spreadsheet editor

This implements the MVP for the new spreadsheet editor (T85879). The functionality
is still very limited, but it proved to be useful already. A more complete picture
of where we want to go with the new editor can be found in T86279.

Supported features:
* Show point attributes of evaluated meshes (no original data, no other domains,
no other geometry types, yet). Since only meshes are supported right now, the
output of the Point Distribute is not shown, because it is a point cloud.
* Only show data for selected vertices when the mesh is in edit mode.
Different parts of Blender keep track of selection state and original-indices with
varying degrees of success. Therefore, when the selected-only filter is used, the
result might be a bit confusing when using some modifiers or nodes. This will
be improved in the future.
* All data is readonly. Since only evaluated data is displayed currently, it has to
be readonly. However, this is not an inherent limitation of the spreadsheet editor.
In the future editable data will be displayed as well.

Some boilerplate code for the new editor has been committed before in
rB9cb5f0a2282a7a84f7f8636b43a32bdc04b51cd5.

It would be good to let the spreadsheet editor mature for a couple of weeks as part
of the geometry nodes project. Then other modules are invited to show their own data
in the new editor!

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

Commit Details:

Full Hash: 3dab6f8b7b8988b727719e7487e793262669f2ee
Parent Commit: f247a14
Lines Changed: +1001, -6

5 Added Paths:

/release/scripts/startup/bl_operators/spreadsheet.py (+52, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_draw.cc (+304, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_draw.hh (+60, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_from_geometry.cc (+437, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_from_geometry.hh (+32, -0) (View)

8 Modified Paths:

/release/scripts/startup/bl_operators/__init__.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_spreadsheet.py (+13, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+11, -0) (Diff)
/source/blender/editors/space_spreadsheet/CMakeLists.txt (+9, -0) (Diff)
/source/blender/editors/space_spreadsheet/space_spreadsheet.cc (+50, -2) (Diff)
/source/blender/makesdna/DNA_space_types.h (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+0, -4) (Diff)
/source/blender/makesrna/intern/rna_space.c (+21, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021