Fix T47332: Face select masks display glitch

This commit is contained in:
Campbell Barton 2016-02-11 03:53:54 +11:00
parent f5982f2a29
commit 8e85ef1c7d
Notes: blender-bot 2023-02-14 08:28:46 +01:00
Referenced by issue #47332, selected faces in paint modes dont display properly
1 changed files with 6 additions and 1 deletions

View File

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