1
1

Fix T92950: spreadsheet shows 0 instances when there are instances

Fix found by @erik85.
This commit is contained in:
2021-11-09 13:10:13 +01:00
parent de8e13036b
commit 09f1be53d8

View File

@@ -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));
}