diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-01 18:04:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-01 18:04:11 +0300 |
commit | 3be073807bd7a5c2e2d55d92539afce7916bd382 (patch) | |
tree | 450d1e88cf1f275a83b3dd1cd8209d9ce1a83c8e /source/blender/editors | |
parent | e5d8b04abe0524ea31c1ef158a0cfba83e739b04 (diff) |
Fix T51651: translate w/ individual origins fails
Regression in fix for T46892
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 04b9ae75c8f..81687a6da12 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -2402,7 +2402,8 @@ static void createTransEditVerts(TransInfo *t) int island_info_tot; int *island_vert_map = NULL; - const bool is_island_center = (t->around == V3D_AROUND_LOCAL_ORIGINS) && (t->mode != TFM_TRANSLATION); + /* Even for translation this is needed because of island-orientation, see: T51651. */ + const bool is_island_center = (t->around == V3D_AROUND_LOCAL_ORIGINS); /* Original index of our connected vertex when connected distances are calculated. * Optional, allocate if needed. */ int *dists_index = NULL; |