Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-12-23 13:31:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-12-23 13:31:22 +0300
commitb06f004d5bd3b9a9430b3a6ab4f62a9533b41fa9 (patch)
tree60a5b0a1964008f588f087d53c6eed7b4ca0620e /source/blender/editors/transform/transform_orientations.c
parentee9d60b033409bea77106d15f87631ad601b9f89 (diff)
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.
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r--source/blender/editors/transform/transform_orientations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index 57c77fb99fd..59d2485c964 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -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;
}
}