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:
parent
f23aac659a
commit
2b4ea3c38a
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue