diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-04 02:23:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-04 02:33:49 +0300 |
commit | 971ab57c7df0b0ecdc948bc47a9bc133e35fb94f (patch) | |
tree | f26af3c28dadb02019d93fc23b970164307b9361 /source/blender/editors/transform/transform_gizmo_3d.c | |
parent | a04155dd52ee26fa0567b10255d7f48849197c02 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/editors/transform/transform_gizmo_3d.c')
-rw-r--r-- | source/blender/editors/transform/transform_gizmo_3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c index 097e902105b..90f94eb268a 100644 --- a/source/blender/editors/transform/transform_gizmo_3d.c +++ b/source/blender/editors/transform/transform_gizmo_3d.c @@ -1283,8 +1283,8 @@ void drawDial3d(const TransInfo *t) scale *= ED_view3d_pixel_size_no_ui_scale(t->ar->regiondata, mat_final[3]); mul_mat3_m4_fl(mat_final, scale); - if ((t->tsnap.mode & (SCE_SNAP_MODE_INCREMENT | SCE_SNAP_MODE_GRID)) - && activeSnap(t)) + if ((t->tsnap.mode & (SCE_SNAP_MODE_INCREMENT | SCE_SNAP_MODE_GRID)) && + activeSnap(t)) { increment = (t->modifiers & MOD_PRECISION) ? t->snap[2] : t->snap[1]; } |