Fix T81343: Smooth shading normals not updating with line project tool

Just a missing update flag

Reviewed By: mont29

Maniphest Tasks: T81343

Differential Revision: https://developer.blender.org/D9077
This commit is contained in:
Pablo Dobarro 2020-10-01 17:16:17 +02:00
parent a2b517cb11
commit e1e061384b
Notes: blender-bot 2023-10-04 09:42:55 +02:00
Referenced by issue #81343, Sculpt Line Project tool and Shade Smooth issue
1 changed files with 3 additions and 0 deletions

View File

@ -1212,6 +1212,9 @@ static void project_line_gesture_apply_task_cb(void *__restrict userdata,
continue;
}
add_v3_v3(vd.co, disp);
if (vd.mvert) {
vd.mvert->flag |= ME_VERT_PBVH_UPDATE;
}
any_updated = true;
}
BKE_pbvh_vertex_iter_end;