Merge branch 'blender-v4.5-release'
This commit is contained in:
@@ -873,7 +873,7 @@ void transform_snap_grid_init(const TransInfo *t, float r_snap[3], float *r_snap
|
||||
|
||||
if (t->spacetype == SPACE_VIEW3D) {
|
||||
/* Used by incremental snap. */
|
||||
if (t->region->regiondata) {
|
||||
if (t->region->regiontype == RGN_TYPE_WINDOW) {
|
||||
View3D *v3d = static_cast<View3D *>(t->area->spacedata.first);
|
||||
r_snap[0] = r_snap[1] = r_snap[2] = ED_view3d_grid_view_scale(
|
||||
t->scene, v3d, t->region, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user