Commit: 943debfab5c93719d42c143fcf4a5017d2061816
Author: Campbell Barton
Date: Wed Oct 20 18:01:49 2021 +1100
Branches: master
https://developer.blender.org/rB943debfab5c93719d42c143fcf4a5017d2061816
View3D: snap with active pivot doesn't need to require a 3D view
===================================================================
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 4482e5897ca..3701b23f9a1 100644
--- a/source/blender/editors/space_view3d/view3d_snap.c
+++ b/source/blender/editors/space_view3d/view3d_snap.c
@@ -326,7 +326,7 @@ static int snap_selected_to_location(bContext *C,
int a;
if (use_offset) {
- if ((v3d && scene->toolsettings->transform_pivot_point ==
V3D_AROUND_ACTIVE) &&
+ if ((scene->toolsettings->transform_pivot_point == V3D_AROUND_ACTIVE) &&
snap_calc_active_center(C, true, center_global)) {
/* pass */
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs