Fix T92514: Edit-mode bone snap to cursor uses the center of the bone

Regression in 2bcf93bbbe.
This commit is contained in:
Campbell Barton 2021-10-28 14:07:12 +11:00
parent b838eaf2b9
commit 16f468fb14
1 changed files with 1 additions and 1 deletions

View File

@ -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;