diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-15 12:57:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-15 12:57:49 +0300 |
commit | 0f2efce6c50718d7745a6dc1613acf62a186cc05 (patch) | |
tree | 7abf34abfbde0e56c5d7c05be3e4838fd028cf56 /source/blender/editors/armature | |
parent | c12d9760209e104c89b3978443679356a57f89b1 (diff) |
Cleanup: remove bad casts
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/armature_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c index 3879d67964c..ccbb2e95fc1 100644 --- a/source/blender/editors/armature/armature_edit.c +++ b/source/blender/editors/armature/armature_edit.c @@ -205,7 +205,7 @@ void ED_armature_origin_set(Scene *scene, Object *ob, float cursor[3], int cente /* adjust bone roll to align Z axis with vector * vec is in local space and is normalized */ -float ED_armature_ebone_roll_to_vector(EditBone *bone, const float align_axis[3], const bool axis_only) +float ED_armature_ebone_roll_to_vector(const EditBone *bone, const float align_axis[3], const bool axis_only) { float mat[3][3], nor[3]; float vec[3], align_axis_proj[3], roll = 0.0f; |