diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-10 19:53:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-10 20:19:44 +0300 |
commit | 8e85ef1c7df509d0abd8ec9b8766f149d6c3a1cc (patch) | |
tree | 5c73df1bbb28b1ce555db2ec496980ab6b009114 /source/blender/blenkernel/intern | |
parent | f5982f2a2983783a4c26599e623143f8a30e738d (diff) |
Fix T47332: Face select masks display glitch
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/cdderivedmesh.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/cdderivedmesh.c b/source/blender/blenkernel/intern/cdderivedmesh.c index 3aa451f630a..00c84976516 100644 --- a/source/blender/blenkernel/intern/cdderivedmesh.c +++ b/source/blender/blenkernel/intern/cdderivedmesh.c @@ -825,7 +825,12 @@ static void cdDM_drawMappedFaces( start_element = tot_element; } else { - tot_drawn += tot_tri_verts; + if (draw_option != DM_DRAW_OPTION_SKIP) { + tot_drawn += tot_tri_verts; + } + else { + start_element = tot_element; + } } } } |