forked from bartvdbraak/blender
Fix #32943: sculpt mode draw crash with VBO and flat shaded, hidden faces.
This commit is contained in:
parent
0760308551
commit
2b9e70c81e
@ -1472,6 +1472,9 @@ void GPU_update_mesh_buffers(GPU_Buffers *buffers, MVert *mvert,
|
|||||||
|
|
||||||
float fmask;
|
float fmask;
|
||||||
|
|
||||||
|
if (paint_is_face_hidden(f, mvert))
|
||||||
|
continue;
|
||||||
|
|
||||||
/* Face normal and mask */
|
/* Face normal and mask */
|
||||||
if (f->v4) {
|
if (f->v4) {
|
||||||
normal_quad_v3(fno,
|
normal_quad_v3(fno,
|
||||||
|
Loading…
Reference in New Issue
Block a user