Fix issue w/ transform orientation & vert selection

Accessing selected verts as an array failed when only
some of the selected verts were in the selection-history.
This commit is contained in:
Campbell Barton 2015-12-23 21:31:22 +11:00
parent ee9d60b033
commit b06f004d5b
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ static unsigned int bm_mesh_elems_select_get_n__internal(
if (i == 0) {
/* pass */
}
else {
else if (i == n) {
return i;
}
}