kicad/common/gal/opengl
Seth Hillbrand 1cc9792cdb Fix snapping dist when disabling grid
The disable grid hotkey should allow the snap scale to be completely
determined by the snapSize and world scale.  This prevents snapRange
from overriding in the case where grid is disabled.

Additionally, we disallow grid snapping when the grid scale is not
visible.  This means that when zoomed out sufficiently to not show the
minor ticks, these minor ticks will not override a snap

Fixes https://gitlab.com/kicad/code/kicad/issues/12303
2022-12-21 17:47:45 -08:00
..
SmaaAreaTex.h Add smaa (subsample morphological antialiasing) 2017-01-11 16:20:37 +01:00
SmaaSearchTex.h Add smaa (subsample morphological antialiasing) 2017-01-11 16:20:37 +01:00
antialiasing.cpp Move all the shaders to glsl files (and fix the processor more) 2022-05-12 23:37:44 -04:00
antialiasing.h Further simplification of AA regime 2021-06-08 17:20:41 -07:00
bitmap_font_desc.c Move builtin font resources out of opengl_gal translation unit 2017-01-11 16:20:33 +01:00
bitmap_font_img.c Move builtin font resources out of opengl_gal translation unit 2017-01-11 16:20:33 +01:00
cached_container.cpp Replace PROF_COUNTER with PROF_TIMER in some conditional places. 2022-09-27 14:07:47 +00:00
cached_container_gpu.cpp Replace PROF_COUNTER with PROF_TIMER in some conditional places. 2022-09-27 14:07:47 +00:00
cached_container_ram.cpp Replace PROF_COUNTER with PROF_TIMER in some conditional places. 2022-09-27 14:07:47 +00:00
font-specification.svg update font code along with the changes done in the msdf atlas tool (use codepoint spans and refined char placement) 2016-10-20 14:31:09 +02:00
gl_resources.cpp Formatting. 2022-01-11 14:34:16 +00:00
gl_resources.h OpenGL antialising code clean up & formatting 2017-01-11 16:20:37 +01:00
gpu_manager.cpp Replace PROF_COUNTER with PROF_TIMER in some conditional places. 2022-09-27 14:07:47 +00:00
noncached_container.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
opengl_compositor.cpp Cleanup. 2021-10-03 19:42:29 +01:00
opengl_gal.cpp Fix snapping dist when disabling grid 2022-12-21 17:47:45 -08:00
shader.cpp OpenGL: Use glGetProgramiv instead of the extension function. 2022-06-09 19:37:42 +00:00
ubuntu-font-licence-1.0.txt Added licence for the GAL bitmap font 2016-08-03 17:02:43 +02:00
utils.cpp Cleanup. 2021-10-03 19:42:29 +01:00
vertex_container.cpp GAL memory allocation fixes. 2021-02-22 08:15:09 -05:00
vertex_item.cpp GAL code cleaning. 2021-02-16 17:25:27 -05:00
vertex_manager.cpp Remove unneeded assert 2022-11-04 11:49:50 -07:00