Commit: 72fb92ded8e8e25c870c9bf26414d12cab385c83
Author: Jacques Lucke
Date: Mon Jul 25 11:22:14 2022 +0200
Branches: master
https://developer.blender.org/rB72fb92ded8e8e25c870c9bf26414d12cab385c83
Fix T99961: crash when spreadsheet shows volume grids
===================================================================
M
source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc
===================================================================
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;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs