diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-12-22 22:55:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-12-22 22:56:36 +0300 |
commit | 071a69fc95791ffea52f394f5de25518b5b8302f (patch) | |
tree | 33872fc92ae5a539fe7c60cfe6a2c8bbe26306bf | |
parent | eabf79e40ad64c1e80c9c52227099e211c6092af (diff) |
Fix T47003: OpenGL draw missing selection highlight when using hidden wire.
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 681e64f84cc..b59a6d88bfa 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -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)) { |