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>2009-10-30 15:11:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-10-30 15:11:04 +0300
commit312c4872014fd79697b8ed4d8df8d7f449d46fc6 (patch)
treee24f30f0a8ac0a501c4e45ad3d3a102ded711e9b /source/blender/editors/transform/transform_manipulator.c
parent77532f6f8ac3dd3f12608a81b807f42936bbae33 (diff)
- Simplified EulToGimbalAxis, its still only works on XYZ and ZXY but at least its more clear whats going on.
- Made RotOrderInfo use a vector rather then i/j/k - Added gimbal_axis to transform.h (was extern)
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r--source/blender/editors/transform/transform_manipulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index 51a820dcdcb..4d48c2c0158 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -181,7 +181,7 @@ static int test_rotmode_euler(short rotmode)
return (ELEM(rotmode, ROT_MODE_AXISANGLE, ROT_MODE_QUAT)) ? 0:1;
}
-void gimbalAxis(Object *ob, float gmat[][3])
+void gimbal_axis(Object *ob, float gmat[][3])
{
if(ob->mode & OB_MODE_POSE)
{
@@ -475,7 +475,7 @@ int calc_manipulator_stats(const bContext *C)
{
float mat[3][3];
Mat3One(mat);
- gimbalAxis(ob, mat);
+ gimbal_axis(ob, mat);
Mat4CpyMat3(rv3d->twmat, mat);
break;
}