Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-03-19 22:30:41 +0300
committerHans Goudey <h.goudey@me.com>2021-03-19 22:30:41 +0300
commit17a5db7303df52c319ea34cecea25442932cfe03 (patch)
treebc63bf56e02ed1a5a79d5998394baf3ddd40e28a /release
parent9de8c2fa186fe52a9cad9fe32fd9c860f72b3eed (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 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_spreadsheet.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_spreadsheet.py b/release/scripts/startup/bl_ui/space_spreadsheet.py
index a12fe68c9a5..db9133456a7 100644
--- a/release/scripts/startup/bl_ui/space_spreadsheet.py
+++ b/release/scripts/startup/bl_ui/space_spreadsheet.py
@@ -34,7 +34,8 @@ class SPREADSHEET_HT_header(bpy.types.Header):
layout.prop(space, "object_eval_state", text="")
if space.object_eval_state != "ORIGINAL":
layout.prop(space, "geometry_component_type", text="")
- layout.prop(space, "attribute_domain", text="")
+ if space.geometry_component_type != 'INSTANCES':
+ layout.prop(space, "attribute_domain", text="")
if used_id:
layout.label(text=used_id.name, icon="OBJECT_DATA")