diff options
author | Jacques Lucke <jacques@blender.org> | 2022-07-25 12:22:14 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-07-25 12:22:14 +0300 |
commit | 72fb92ded8e8e25c870c9bf26414d12cab385c83 (patch) | |
tree | 955541753b6de818320e1f2b6145ba2499b11484 /source/blender/editors | |
parent | cacdea7f4a5b49d4b2ea2190373c822974aad163 (diff) |
Fix T99961: crash when spreadsheet shows volume grids
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc index 629a0b5802b..fdcf9798b7f 100644 --- a/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc +++ b/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc @@ -559,7 +559,7 @@ static void add_fields_as_extra_columns(SpaceSpreadsheet *sspreadsheet, std::make_unique<GeometryComponentCacheKey>(component)); const eAttrDomain domain = (eAttrDomain)sspreadsheet->attribute_domain; - const int domain_num = component.attributes()->domain_size(domain); + const int domain_num = component.attribute_domain_size(domain); for (const auto item : fields_to_show.items()) { const StringRef name = item.key; const GField &field = item.value; |