diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-08-16 16:00:38 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-08-16 16:00:50 +0300 |
commit | ecc3b033a7d2bc71f3c75cd8152a647d18457ba1 (patch) | |
tree | 34578277cf21ac5b526514ac112efaa2a4cb0ac2 /source | |
parent | ee8aad79c1590cd0e98ba67961909ebfa8f6a803 (diff) |
Fix T68715 Hidden polygon Edit mode are hidden in Object level
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/intern/draw_cache_extract_mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_extract_mesh.c b/source/blender/draw/intern/draw_cache_extract_mesh.c index 95b984747bd..e735554b1f2 100644 --- a/source/blender/draw/intern/draw_cache_extract_mesh.c +++ b/source/blender/draw/intern/draw_cache_extract_mesh.c @@ -505,7 +505,7 @@ static void extract_tris_looptri_mesh(const MeshRenderData *mr, void *_data) { const MPoly *mpoly = &mr->mpoly[mlt->poly]; - if (!(mpoly->flag & ME_HIDE)) { + if (!(mr->use_hide && (mpoly->flag & ME_HIDE))) { MeshExtract_Tri_Data *data = _data; int *mat_tri_ofs = data->tri_mat_end; GPU_indexbuf_set_tri_verts( |