Fix T92950: spreadsheet shows 0 instances when there are instances
Fix found by @erik85.
This commit is contained in:
parent
de8e13036b
commit
09f1be53d8
Notes:
blender-bot
2023-02-14 02:43:21 +01:00
Referenced by issue #92950, spreadsheet showing 0 instances when there are instances:
|
@ -200,7 +200,7 @@ void DatasetRegionDrawer::draw_dataset_row(const int indentation,
|
|||
BLI_str_format_attribute_domain_size(
|
||||
element_count, element_count_from_instances(draw_context.current_geometry_set));
|
||||
}
|
||||
if (component == GEO_COMPONENT_TYPE_VOLUME) {
|
||||
else if (component == GEO_COMPONENT_TYPE_VOLUME) {
|
||||
BLI_str_format_attribute_domain_size(
|
||||
element_count, element_count_from_volume(draw_context.current_geometry_set));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue