diff options
author | Jacques Lucke <jacques@blender.org> | 2022-04-15 10:07:00 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-04-15 10:08:50 +0300 |
commit | 2839fe9a4d30c5737ab5075d0610c54568688fcb (patch) | |
tree | b3d58776d83c985c6672ab1e3eb138e50448f8c3 /source/blender/editors/space_spreadsheet/space_spreadsheet.cc | |
parent | db6287873cd2c79741439f4d141c4b2db517d73e (diff) |
Curves: initial geometry nodes support for curves objects
* Curves objects now support the geometry nodes modifier.
* It's possible to use the curves object with the Object Info node.
* The spreadsheet shows the curve data.
The main thing holding this back currently is that the drawing code
for the curves object is very incomplete. E.g. it resamples the curves
always in the end, which is not expected for curves in general.
Differential Revision: https://developer.blender.org/D14277
Diffstat (limited to 'source/blender/editors/space_spreadsheet/space_spreadsheet.cc')
-rw-r--r-- | source/blender/editors/space_spreadsheet/space_spreadsheet.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/space_spreadsheet/space_spreadsheet.cc b/source/blender/editors/space_spreadsheet/space_spreadsheet.cc index fbdc451cf06..14b9dbe4b44 100644 --- a/source/blender/editors/space_spreadsheet/space_spreadsheet.cc +++ b/source/blender/editors/space_spreadsheet/space_spreadsheet.cc @@ -264,7 +264,13 @@ Object *spreadsheet_get_object_eval(const SpaceSpreadsheet *sspreadsheet, return nullptr; } Object *object_orig = (Object *)used_id; - if (!ELEM(object_orig->type, OB_MESH, OB_POINTCLOUD, OB_VOLUME, OB_CURVES_LEGACY, OB_FONT)) { + if (!ELEM(object_orig->type, + OB_MESH, + OB_POINTCLOUD, + OB_VOLUME, + OB_CURVES_LEGACY, + OB_FONT, + OB_CURVES)) { return nullptr; } |