Fix T68715 Hidden polygon Edit mode are hidden in Object level
This commit is contained in:
parent
ee8aad79c1
commit
ecc3b033a7
Notes:
blender-bot
2023-02-14 04:46:12 +01:00
Referenced by issue #68715, Hidden polygon Edit mode are hidden in Object level
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue