Fix T47003: OpenGL draw missing selection highlight when using hidden wire.
This commit is contained in:
parent
eabf79e40a
commit
071a69fc95
Notes:
blender-bot
2023-02-14 08:39:23 +01:00
Referenced by issue #47003, no selection highlight in edit mode when using "hidden wire"
|
@ -3752,6 +3752,7 @@ static void draw_em_fancy(Scene *scene, ARegion *ar, View3D *v3d,
|
|||
glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE);
|
||||
cageDM->drawMappedFaces(cageDM, draw_em_fancy__setFaceOpts,
|
||||
GPU_object_material_bind, NULL, me->edit_btmesh, DM_DRAW_SKIP_HIDDEN | DM_DRAW_NEED_NORMALS);
|
||||
GPU_object_material_unbind();
|
||||
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
}
|
||||
else if (check_object_draw_texture(scene, v3d, dt)) {
|
||||
|
|
Loading…
Reference in New Issue