[Bf-blender-cvs] [3be073807bd] master: Fix T51651: translate w/ individual origins fails

Campbell Barton noreply at git.blender.org
Thu Jun 1 17:06:17 CEST 2017


Commit: 3be073807bd7a5c2e2d55d92539afce7916bd382
Author: Campbell Barton
Date:   Fri Jun 2 01:04:11 2017 +1000
Branches: master
https://developer.blender.org/rB3be073807bd7a5c2e2d55d92539afce7916bd382

Fix T51651: translate w/ individual origins fails

Regression in fix for T46892

===================================================================

M	source/blender/editors/transform/transform_conversions.c

===================================================================

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;




More information about the Bf-blender-cvs mailing list