[Bf-blender-cvs] [c8ef04e] master: Fix T42199: PET displays when transforming around centers

Campbell Barton noreply at git.blender.org
Mon Nov 10 14:43:17 CET 2014


Commit: c8ef04e7263b7b399683c1d2f8e43f3d720dc810
Author: Campbell Barton
Date:   Mon Nov 10 14:37:53 2014 +0100
Branches: master
https://developer.blender.org/rBc8ef04e7263b7b399683c1d2f8e43f3d720dc810

Fix T42199: PET displays when transforming around centers

Old code only worked for faces.

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

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

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

diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c
index 2f03594..52f02e5 100644
--- a/source/blender/editors/transform/transform_generics.c
+++ b/source/blender/editors/transform/transform_generics.c
@@ -1203,7 +1203,7 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
 		}
 
 		/* exceptional case */
-		if (t->around == V3D_LOCAL && (t->settings->selectmode & SCE_SELECT_FACE)) {
+		if (t->around == V3D_LOCAL) {
 			if (ELEM(t->mode, TFM_ROTATION, TFM_RESIZE, TFM_TRACKBALL)) {
 				t->options |= CTX_NO_PET;
 			}




More information about the Bf-blender-cvs mailing list