diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-27 19:20:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-27 19:20:48 +0300 |
commit | 351d7822862003047022f26f1b719e5678d8b8bc (patch) | |
tree | 03a267995ebee743b5d6152ec79f7b8f5baac2c7 /source/blender/editors/space_view3d | |
parent | eb4c60124cc2b3aeba5eeb3090bea92543f066a9 (diff) |
UI: disable 3 column toolbars
They conflict a little with showing a narrow toolbar w/ text.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 5fcffc75693..c219da36faf 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -1268,7 +1268,7 @@ static int view3d_tools_region_snap_size(const ARegion *ar, int size, int axis) { if (axis == 0) { /* Note, this depends on the icon size: see #ICON_DEFAULT_HEIGHT_TOOLBAR. */ - const float snap_units[3] = {3 + 0.25f, 5 + 0.25, 7 + 0.25}; + const float snap_units[] = {3 + 0.25f, 5 + 0.25}; const float aspect = BLI_rctf_size_x(&ar->v2d.cur) / (BLI_rcti_size_x(&ar->v2d.mask) + 1); int best_diff = INT_MAX; int best_size = size; |