Fix T64766: use grid size from user preferences

This commit is contained in:
Jacques Lucke 2019-05-20 11:48:37 +02:00
parent 11d5a1baff
commit 81320ce7f7
Notes: blender-bot 2023-02-14 06:54:28 +01:00
Referenced by issue #64766, User Preferences - Animation - Timeline - Minimum Grid spacing doesn't work
1 changed files with 1 additions and 1 deletions

View File

@ -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,