View3D: snap with active pivot doesn't need to require a 3D view
This commit is contained in:
parent
6ed93391c4
commit
943debfab5
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue