diff options
author | Campbell Barton <campbell@blender.org> | 2022-02-01 07:37:10 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-02-01 07:37:10 +0300 |
commit | 64264a496dae2a756826b5e15aa21f463513553c (patch) | |
tree | a806e6205aa12319480735cad2fe22e5c8f9cf10 /source/blender/editors/sculpt_paint | |
parent | f21f1279fa003b572f2ce1f1e6497737117e2f06 (diff) | |
parent | 9ce1135440f2fa69c14d393971fcf6c671f35cc3 (diff) |
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 2725fc1eae4..07e26a3d931 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -178,13 +178,8 @@ void SCULPT_vertex_normal_get(SculptSession *ss, int index, float no[3]) { switch (BKE_pbvh_type(ss->pbvh)) { case PBVH_FACES: { - if (ss->shapekey_active || ss->deform_modifiers_active) { - const float(*vert_normals)[3] = BKE_pbvh_get_vert_normals(ss->pbvh); - copy_v3_v3(no, vert_normals[index]); - } - else { - copy_v3_v3(no, ss->vert_normals[index]); - } + const float(*vert_normals)[3] = BKE_pbvh_get_vert_normals(ss->pbvh); + copy_v3_v3(no, vert_normals[index]); break; } case PBVH_BMESH: |