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:
authorCampbell Barton <ideasman42@gmail.com>2010-03-08 14:47:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-03-08 14:47:43 +0300
commit1138214a8cc585b9c384cc99b8f8017edbc737ea (patch)
treeeabf8834e32ff3b278fedc37ab6526ff823fa5a8 /source/blender/editors/transform
parent57eac3b3e3fdf156c6cd043ca93c4d4b90acabad (diff)
commit from r27250 to fix bug #21433, broke local axis rotation for pose bones and objects.
commented fix and reopened report.
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index e845f8f780f..e4639b268de 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -3004,7 +3004,8 @@ int Rotation(TransInfo *t, short mval[2])
sprintf(str, "Rot: %.2f%s %s", 180.0*final/M_PI, t->con.text, t->proptext);
}
- t->values[0] = final;
+ // fixes [#21433] but breaks, typical local axis rotation - campbell
+ // t->values[0] = final;
vec_rot_to_mat3( mat, t->axis, final);