Fix edit-mesh draw not disabling stipple
Caused problem w/ basic-shader
This commit is contained in:
parent
6307e823ca
commit
5e063ce6c9
|
@ -1181,6 +1181,10 @@ static void emDM_drawMappedFaces(
|
|||
|
||||
/* if non zero we know a face was rendered */
|
||||
if (poly_prev != GL_ZERO) glEnd();
|
||||
|
||||
if (draw_option_prev == DM_DRAW_OPTION_STIPPLE) {
|
||||
GPU_basic_shader_bind(GPU_SHADER_USE_COLOR);
|
||||
}
|
||||
}
|
||||
|
||||
static void bmdm_get_tri_uv(BMLoop *ltri[3], MLoopUV *luv[3], const int cd_loop_uv_offset)
|
||||
|
|
Loading…
Reference in New Issue