Fix T64766: use grid size from user preferences
This commit is contained in:
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
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue