diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-30 15:11:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-30 15:11:04 +0300 |
commit | 312c4872014fd79697b8ed4d8df8d7f449d46fc6 (patch) | |
tree | e24f30f0a8ac0a501c4e45ad3d3a102ded711e9b /source/blender/editors/transform/transform_orientations.c | |
parent | 77532f6f8ac3dd3f12608a81b807f42936bbae33 (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_orientations.c')
-rw-r--r-- | source/blender/editors/transform/transform_orientations.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index efcaedd2fe1..56160d66e25 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -510,7 +510,6 @@ static int count_bone_select(bArmature *arm, ListBase *lb, int do_it) return total; } -extern void gimbalAxis(Object *ob, float gimbal_vecs[][3]); void initTransformOrientation(bContext *C, TransInfo *t) { View3D *v3d = CTX_wm_view3d(C); @@ -528,7 +527,7 @@ void initTransformOrientation(bContext *C, TransInfo *t) case V3D_MANIP_GIMBAL: Mat3One(t->spacemtx); if(ob) - gimbalAxis(ob, t->spacemtx); + gimbal_axis(ob, t->spacemtx); break; case V3D_MANIP_NORMAL: if(obedit || (ob && ob->mode & OB_MODE_POSE)) { |