View3D: snap with active pivot doesn't need to require a 3D view

This commit is contained in:
Campbell Barton 2021-10-20 18:01:49 +11:00
parent 6ed93391c4
commit 943debfab5
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
}