Fix T74498: Do not iterate over hidden vertices when using the transform tool
By using PBVH_ITER_UNIQUE hidden vertices are skipped, like in the rest of the brushes and tools. Reviewed By: brecht Maniphest Tasks: T74498 Differential Revision: https://developer.blender.org/D7047
This commit is contained in:
parent
946d39f688
commit
7760cec5dc
Notes:
blender-bot
2023-02-14 06:17:14 +01:00
Referenced by issue #74498, Transform tools do not work with Face Sets
|
@ -10241,7 +10241,7 @@ static void sculpt_transform_task_cb(void *__restrict userdata,
|
|||
PBVHVertexIter vd;
|
||||
|
||||
SCULPT_undo_push_node(data->ob, node, SCULPT_UNDO_COORDS);
|
||||
BKE_pbvh_vertex_iter_begin(ss->pbvh, node, vd, PBVH_ITER_ALL)
|
||||
BKE_pbvh_vertex_iter_begin(ss->pbvh, node, vd, PBVH_ITER_UNIQUE)
|
||||
{
|
||||
SCULPT_orig_vert_data_update(&orig_data, &vd);
|
||||
float transformed_co[3], orig_co[3], disp[3];
|
||||
|
|
Loading…
Reference in New Issue