diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-23 13:01:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-23 13:02:44 +0300 |
commit | 0f501a73ab6181471dd9de2bd1c8c799c997caa4 (patch) | |
tree | 4c992bc1605c6d34a1dfec58bd22f449c294228a /source | |
parent | 80a7efdc1d395f44a14e7bf1085a5d1b3fe45547 (diff) |
Fix T47890: Vertex mask w/ subsurf select fails
Regression in GL refactor
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index b4571e50701..6199ed85ba1 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -8380,6 +8380,8 @@ static void bbs_mesh_solid_verts(Scene *scene, Object *ob) dm->drawMappedFaces(dm, bbs_mesh_solid_hide2__setDrawOpts, GPU_object_material_bind, NULL, me, DM_DRAW_SKIP_HIDDEN); + GPU_object_material_unbind(); + bbs_obmode_mesh_verts(ob, dm, 1); bm_vertoffs = me->totvert + 1; dm->release(dm); |