diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-10-01 17:02:01 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-10-01 17:02:14 +0300 |
commit | 574265f52fa2967c41b11916ba327e85ac68d03f (patch) | |
tree | 6aefae26e1601f2fa21b217e1dfa82495a82069b /source/blender | |
parent | 5c79f2d0fba7360488e591922f91aa858bd8d603 (diff) |
Fix T70206 Texture Paint: UV shadow doesnt show up
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/intern/draw_cache_extract_mesh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_cache_extract_mesh.c b/source/blender/draw/intern/draw_cache_extract_mesh.c index eb0ddbc825e..40a36acc3d9 100644 --- a/source/blender/draw/intern/draw_cache_extract_mesh.c +++ b/source/blender/draw/intern/draw_cache_extract_mesh.c @@ -1183,8 +1183,7 @@ static void extract_edituv_lines_loop_mesh(const MeshRenderData *mr, { int loopend = mpoly->totloop + mpoly->loopstart - 1; int loop_next_idx = (loop_idx == loopend) ? mpoly->loopstart : (loop_idx + 1); - const bool real_edge = (mr->extract_type == MR_EXTRACT_MAPPED && - mr->e_origindex[mloop->e] != ORIGINDEX_NONE); + const bool real_edge = (mr->e_origindex == NULL || mr->e_origindex[mloop->e] != ORIGINDEX_NONE); edituv_edge_add(data, (mpoly->flag & ME_HIDE) != 0 || !real_edge, (mpoly->flag & ME_FACE_SEL) != 0, |