Blender Git Loki

Git Commits -> Revision f7f558e

Revision f7f558e by Hans Goudey (master)
November 27, 2021, 22:09 (GMT)
Cleanup: Deduplicate instances component in spreadsheet

Currently we have a separate `InstancesDataSource`, which does almost
exactly the same thing as `GeometryDataSource`, except that it hardcodes
a few more columns: "Name", "Rotation", and "Scale". We can easily
replace that with a couple of if statements in the geometry data source.

This also makes named attributes on instances display
in the spreadsheet.

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

Commit Details:

Full Hash: f7f558e293e9cfde672b62083d01a6d68cb674b1
Parent Commit: e121b5b
Lines Changed: +66, -136

2 Modified Paths:

/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc (+66, -114) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.hh (+0, -22) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021