Fix #109209: crash when attributes are propagated to non-first output geometry

This wasn't covered by my other tests because in usually the geometry output
that anonymous attributes are propagated to is the first output, thus the index
was 0. In this case it didn't make it difference whether the `.index_range()` call
was there are not.
This commit is contained in:
Jacques Lucke 2023-06-21 22:36:58 +02:00
parent f23aac659a
commit 2b4ea3c38a
1 changed files with 1 additions and 1 deletions

View File

@ -1843,7 +1843,7 @@ struct GeometryNodesLazyFunctionGraphBuilder {
}
for (const int caller_propagation_index :
attribute_inferencing_.propagated_output_geometry_indices)
attribute_inferencing_.propagated_output_geometry_indices.index_range())
{
const int group_output_index =
attribute_inferencing_.propagated_output_geometry_indices[caller_propagation_index];