forked from blender/blender
Realize depth code review fixes #6
@ -1000,8 +1000,8 @@ static void execute_instances_tasks(
|
||||
array_utils::gather(handle_map.as_span(), src_handles, all_handles.slice(dst_range));
|
||||
array_utils::copy(src_instances.transforms(), all_transforms.slice(dst_range));
|
||||
|
||||
for (blender::float4x4 &transfrom : all_transforms.slice(dst_range)) {
|
||||
transfrom *= src_base_transform;
|
||||
for (blender::float4x4 &transform : all_transforms.slice(dst_range)) {
|
||||
transform = src_base_transform * transform;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user