Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/geometry')
-rw-r--r--source/blender/geometry/intern/realize_instances.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/geometry/intern/realize_instances.cc b/source/blender/geometry/intern/realize_instances.cc
index 100146bbf0c..32bad07de4f 100644
--- a/source/blender/geometry/intern/realize_instances.cc
+++ b/source/blender/geometry/intern/realize_instances.cc
@@ -1155,14 +1155,14 @@ static void execute_realize_curve_task(const RealizeInstancesOptions &options,
/* Copy and transform handle positions if necessary. */
if (all_curves_info.create_handle_postion_attributes) {
if (curves_info.handle_left.is_empty()) {
- all_handle_left.fill(float3(0));
+ all_handle_left.slice(dst_point_range).fill(float3(0));
}
else {
copy_transformed_positions(
curves_info.handle_left, task.transform, all_handle_left.slice(dst_point_range));
}
if (curves_info.handle_right.is_empty()) {
- all_handle_right.fill(float3(0));
+ all_handle_right.slice(dst_point_range).fill(float3(0));
}
else {
copy_transformed_positions(