[Bf-blender-cvs] [16f468fb140] blender-v3.0-release: Fix T92514: Edit-mode bone snap to cursor uses the center of the bone
Campbell Barton
noreply at git.blender.org
Thu Oct 28 05:08:37 CEST 2021
Commit: 16f468fb140770a9ffa277860efc8f2fad8183e5
Author: Campbell Barton
Date: Thu Oct 28 14:07:12 2021 +1100
Branches: blender-v3.0-release
https://developer.blender.org/rB16f468fb140770a9ffa277860efc8f2fad8183e5
Fix T92514: Edit-mode bone snap to cursor uses the center of the bone
Regression in 2bcf93bbbeb9e32f680c37a1e0054ff16cb00ef0.
===================================================================
M source/blender/editors/space_view3d/view3d_snap.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list