diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-28 06:07:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-28 06:07:12 +0300 |
commit | 16f468fb140770a9ffa277860efc8f2fad8183e5 (patch) | |
tree | 95cc8a370958ce782e3944eaa5e6b26ee3efabd6 | |
parent | b838eaf2b960af5877d77eed1ef1ad4ede1071f0 (diff) |
Fix T92514: Edit-mode bone snap to cursor uses the center of the bone
Regression in 2bcf93bbbeb9e32f680c37a1e0054ff16cb00ef0.
-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 55ec6652495..67b61ed77d8 100644 --- a/source/blender/editors/space_view3d/view3d_snap.c +++ b/source/blender/editors/space_view3d/view3d_snap.c @@ -615,7 +615,7 @@ static int snap_selected_to_cursor_exec(bContext *C, wmOperator *op) const float *snap_target_global = scene->cursor.location; const int pivot_point = scene->toolsettings->transform_pivot_point; - if (snap_selected_to_location(C, snap_target_global, pivot_point, use_offset, true)) { + if (snap_selected_to_location(C, snap_target_global, use_offset, pivot_point, true)) { return OPERATOR_CANCELLED; } return OPERATOR_FINISHED; |