Fix T51651: translate w/ individual origins fails

Regression in fix for T46892
This commit is contained in:
Campbell Barton
2017-06-02 01:04:11 +10:00
parent e5d8b04abe
commit 3be073807b

View File

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