Allow very large grids.

Some folks use them for panelization, drawing board edges, etc.
Whatever the use, we shouldn't get in the way.

Fixes: lp:1484207
* https://bugs.launchpad.net/kicad/+bug/1484207
This commit is contained in:
Jeff Young 2018-02-15 15:40:40 +00:00 committed by Wayne Stambaugh
parent 7c506f5b3a
commit ea1474307c
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
#include <limits.h>
// Max values for grid size
static const double MAX_GRID_SIZE = 50.0 * IU_PER_MM;
static const double MAX_GRID_SIZE = 1000.0 * IU_PER_MM;
static const double MIN_GRID_SIZE = 0.001 * IU_PER_MM;
// Min/Max value for grid offset