Fix T92663: Snap Selected to Active not working properly

Wrong values were passed for use_offset and pivot_point in
2bcf93bbbe

Maniphest Tasks: T92663

Ref D13056
This commit is contained in:
Pratik Borhade 2021-11-01 17:22:03 +11:00 committed by Campbell Barton
parent 3cd398f16f
commit 6e26c615af
Notes: blender-bot 2023-02-14 05:51:15 +01:00
Referenced by issue #92663, Snap Selected to Active not working properly.
1 changed files with 1 additions and 1 deletions

View File

@ -659,7 +659,7 @@ static int snap_selected_to_active_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
}
if (!snap_selected_to_location(C, snap_target_global, -1, false, true)) {
if (!snap_selected_to_location(C, snap_target_global, false, -1, true)) {
return OPERATOR_CANCELLED;
}
return OPERATOR_FINISHED;