[Bf-blender-cvs] [dfab5a0c4ac] sculpt-dev: Array Brush: Array rotation orientations working
aousdfh
noreply at git.blender.org
Thu Jul 15 21:12:25 CEST 2021
Commit: dfab5a0c4ac8d2c9f6c26f261a7c6240d6c7f389
Author: aousdfh
Date: Tue Jul 13 00:37:10 2021 +0200
Branches: sculpt-dev
https://developer.blender.org/rBdfab5a0c4ac8d2c9f6c26f261a7c6240d6c7f389
Array Brush: Array rotation orientations working
===================================================================
M source/blender/editors/sculpt_paint/sculpt_array.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_array.c b/source/blender/editors/sculpt_paint/sculpt_array.c
index b7790e4431e..ef7f7e75b5b 100644
--- a/source/blender/editors/sculpt_paint/sculpt_array.c
+++ b/source/blender/editors/sculpt_paint/sculpt_array.c
@@ -461,11 +461,8 @@ static void do_array_deform_task_cb_ex(void *__restrict userdata,
float co[3];
mul_v3_m4v3(co, array->source_imat, array->orco[vd.index]);
- //sub_v3_v3v3(co, array->orco[vd.index], array->source_origin);
mul_v3_m4v3(co, copy->mat, co);
-
- mul_v3_m4v3(vd.co,array->source_mat, co);
- //add_v3_v3v3(vd.co, co, array->source_origin);
+ add_v3_v3v3(vd.co, co, array->source_origin);
any_modified = true;
@@ -477,7 +474,7 @@ static void do_array_deform_task_cb_ex(void *__restrict userdata,
BKE_pbvh_vertex_iter_end;
if (any_modified) {
- BKE_pbvh_node_mark_update(data->nodes[n]);
+ BKE_pbvh_node_mark_update(data->nodes[n]);
}
}
More information about the Bf-blender-cvs
mailing list