mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-07 21:55:32 +00:00
GAL: update depth to avoid overflow with a higher VIEW_MAX_LAYERS
This commit is contained in:
parent
858d28b13f
commit
3219e87b3a
@ -236,8 +236,8 @@ VECTOR2D GAL::GetGridPoint( const VECTOR2D& aPoint ) const
|
||||
#endif
|
||||
}
|
||||
|
||||
const int GAL::MIN_DEPTH = -1024;
|
||||
const int GAL::MAX_DEPTH = 1023;
|
||||
const int GAL::MIN_DEPTH = -2048;
|
||||
const int GAL::MAX_DEPTH = 2047;
|
||||
const int GAL::GRID_DEPTH = MAX_DEPTH - 1;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user