diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-05-20 12:48:37 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-05-20 12:48:37 +0300 |
commit | 81320ce7f7c699d832edf8ba0f609bb246389a33 (patch) | |
tree | d79c2a1a6a85f3baf659e4e897d4ad1f534201f7 | |
parent | 11d5a1baff49dbc234cd691fa419c8b63a79da5e (diff) |
Fix T64766: use grid size from user preferences
-rw-r--r-- | source/blender/editors/interface/view2d_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/view2d_draw.c b/source/blender/editors/interface/view2d_draw.c index 2568193ee23..691f145c408 100644 --- a/source/blender/editors/interface/view2d_draw.c +++ b/source/blender/editors/interface/view2d_draw.c @@ -53,7 +53,7 @@ /* Compute display grid resolution ********************************************************/ -#define MIN_MAJOR_LINE_DISTANCE (UI_DPI_FAC * 50) +#define MIN_MAJOR_LINE_DISTANCE (U.v2d_min_gridsize) static float select_major_distance(const float *possible_distances, uint amount, |