diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-22 07:56:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-22 07:56:50 +0400 |
commit | 2fe940f8df9c4513ad1ad0674f49818417450984 (patch) | |
tree | 973e55b1f0ea46b3018c0993efeaa3b22f1173dc /source/blender/editors/space_view3d/view3d_snap.c | |
parent | bcac1def4c1b459e116ae1957e8ac4e20a7d9192 (diff) |
Fix for snapping pose bones with axis-angle rotation.
- armature_mat_pose_to_bone() was missing axis-angle check.
- added loc_axisangle_size_to_mat4() for completeness.
- use 'const' prefix where possible in math rotation functions.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_snap.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_snap.c b/source/blender/editors/space_view3d/view3d_snap.c index d6778070931..9f6054a5d4f 100644 --- a/source/blender/editors/space_view3d/view3d_snap.c +++ b/source/blender/editors/space_view3d/view3d_snap.c @@ -921,7 +921,7 @@ void VIEW3D_OT_snap_cursor_to_center(wmOperatorType *ot) /* api callbacks */ ot->exec= snap_curs_to_center; - ot->poll= ED_operator_view3d_active; + ot->poll= ED_operator_view3d_active; /* flags */ ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; |