diff options
author | Hans Goudey <h.goudey@me.com> | 2021-03-19 22:30:41 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-03-19 22:30:41 +0300 |
commit | 17a5db7303df52c319ea34cecea25442932cfe03 (patch) | |
tree | bc63bf56e02ed1a5a79d5998394baf3ddd40e28a /source/blender/makesrna/intern/rna_space.c | |
parent | 9de8c2fa186fe52a9cad9fe32fd9c860f72b3eed (diff) |
Geometry Nodes: Add geometry instances data to the spreadsheet
This patch adds data about instances generated by geometry nodes
to the spreadsheet. The transform data is decomposed into position,
rotation, and scale, and there is a name column to display the name
of the instanced object or collection.
This data is implemented specifically for the spreadsheet, because
we're not sure that we want to expose this data as attributes for the
use elsewhere.
Differential Revision: https://developer.blender.org/D10770
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index c0b40bfd526..730a272d250 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -7320,6 +7320,11 @@ static void rna_def_space_spreadsheet(BlenderRNA *brna) ICON_POINTCLOUD_DATA, "Point Cloud", "Point cloud component containing only point data"}, + {GEO_COMPONENT_TYPE_INSTANCES, + "INSTANCES", + ICON_EMPTY_AXIS, + "Instances", + "Instances of objects or collections"}, {0, NULL, 0, NULL, NULL}, }; |