Fix T47890: Vertex mask w/ subsurf select fails

Regression in GL refactor
This commit is contained in:
Campbell Barton 2016-03-23 21:01:21 +11:00
parent 80a7efdc1d
commit 0f501a73ab
Notes: blender-bot 2023-02-14 08:04:14 +01:00
Referenced by issue #47890, Masking vertices in weight paint doesn't work with subsurf
1 changed files with 2 additions and 0 deletions

View File

@ -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);