Fix T70206 Texture Paint: UV shadow doesnt show up

This commit is contained in:
Clément Foucault 2019-10-01 16:02:01 +02:00
parent 5c79f2d0fb
commit 574265f52f
Notes: blender-bot 2023-02-14 08:25:14 +01:00
Referenced by issue #70206, 2.81 - On Texture Paint the UV Map doesnt show up on the left viewport as it does on 2.80
1 changed files with 1 additions and 2 deletions

View File

@ -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,