From a7858767f46d25d8b7d95b37a3e66aaf552d67c8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 26 Jun 2013 02:47:56 +0000 Subject: fix [#35858] Weight Paint: Hiding faces isnt flushing the flag to the vertices. --- source/blender/editors/sculpt_paint/paint_hide.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index e0d578ec210..3db0bd61f03 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -416,9 +416,7 @@ static int hide_show_exec(bContext *C, wmOperator *op) /* ensure that edges and faces get hidden as well (not used by * sculpt but it looks wrong when entering editmode otherwise) */ if (pbvh_type == PBVH_FACES) { - BKE_mesh_flush_hidden_from_verts(me->mvert, me->mloop, - me->medge, me->totedge, - me->mpoly, me->totpoly); + BKE_mesh_flush_hidden_from_verts(me); } ED_region_tag_redraw(ar); -- cgit v1.2.3