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:
authorMartin Poirier <theeth@yahoo.com>2006-12-03 22:54:27 +0300
committerMartin Poirier <theeth@yahoo.com>2006-12-03 22:54:27 +0300
commitf72a56bdfc684603d80113e8ffbd5b72331cd897 (patch)
tree72bcc8dcf2fcc7277e2cca57cb7395480a02ef29 /source/blender/src/transform_snap.c
parent2d87c36efa87db033b9393e42df764d68bc1a812 (diff)
=== Transform ===
Modified version of patch #5281 by Joshua Leung. It's a two part patch: Add a Roll button in the transform properties floating panel with bones selected in edit mode Add a Roll transform (Ctrl-R) that can be used to modify the roll of selected bones in edit mode The transformation modifies the roll of all selected bones incrementally (like a rotation does to the bones' rotation) [that is the part that differs from the patch. The patch would set the same roll value to all bones] Also, this commit includes some shuffling around of the functions, to keep the previously logical order. :)
Diffstat (limited to 'source/blender/src/transform_snap.c')
-rw-r--r--source/blender/src/transform_snap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/transform_snap.c b/source/blender/src/transform_snap.c
index 79022b16900..2a9f561a473 100644
--- a/source/blender/src/transform_snap.c
+++ b/source/blender/src/transform_snap.c
@@ -196,7 +196,7 @@ void snapGrid(TransInfo *t, float *val) {
int invert;
GearsType action;
- if(t->mode==TFM_ROTATION || t->mode==TFM_WARP || t->mode==TFM_TILT || t->mode==TFM_TRACKBALL)
+ if(t->mode==TFM_ROTATION || t->mode==TFM_WARP || t->mode==TFM_TILT || t->mode==TFM_TRACKBALL || t->mode==TFM_BONE_ROLL)
invert = U.flag & USER_AUTOROTGRID;
else if(t->mode==TFM_RESIZE || t->mode==TFM_SHEAR || t->mode==TFM_BONESIZE || t->mode==TFM_SHRINKFATTEN || t->mode==TFM_CURVE_SHRINKFATTEN)
invert = U.flag & USER_AUTOSIZEGRID;