linuxcnc/lib/python
Jeff Epler a86ac40e4a
Fix incorrect use of glBitmap
The intent of this use of glBitmap is to move the raster position
without drawing anything. However, it may be required to use None
instead of the empty bytes object for this. I couldn't quite verify
this as I don't have an affected system.

The final argument is the 'bitmap' argument. The use of a NULL bitmap
together with nonzero xmove/ymove parameters is explicitly
documented as a valid way to move the raster position
(including to offscreen positions); doing it with a zero byte bitmap
is apparently unsupported in some OpenGL implementation even if the
width×height of the bitmap is 0 pixels.

https://docs.gl/gl3/glBitmap specifically documents that negative width
and height are errors, but doesn't document that a height or width of 0
is invalid.
2023-01-15 20:52:07 -06:00
..
gladevcp Merge branch '2.9' 2023-01-14 14:31:21 -08:00
plasmac qtplasmac: rfl - change m67/68 string from int to float 2022-12-20 10:24:37 -05:00
qtvcp Fix incorrect use of glBitmap 2023-01-15 20:52:07 -06:00
rs274 glcanon : add variable to hold the tool change numbers 2023-01-14 14:30:24 -08:00
.gitignore
bitfile.py python3 compatibility in lib/python 2020-04-26 22:56:52 +02:00
bwidget.py remove various python2 workarounds 2021-08-01 12:36:41 +02:00
gladevcp_makepins.py
glnav.py Fix incorrect use of glBitmap 2023-01-15 20:52:07 -06:00
gremlin_view.py src: s/ini/INI/ 2022-10-11 19:04:38 +02:00
hal.py halmodule - adding getpins function 2021-10-16 08:51:35 -06:00
hal_glib.py hal_glib - add motion type message 2023-01-04 22:57:00 -08:00
hershey.py Fix "object has no attribute 'tolist'" 2021-09-25 17:15:26 -05:00
linux_event.py linux_event: python3 compatibility, allow specifying full path 2021-08-18 14:03:29 -05:00
linuxcnc_util.py Removed deprecated axis and deprecated_axes fields 2022-08-19 22:25:46 +02:00
multifilebuilder.py wip: gtk3 port of pncconf 2020-05-09 01:42:28 +02:00
nf.py.in remove various python2 workarounds 2021-08-01 12:36:41 +02:00
popupkeyboard.py use python3 in all #!python lines 2021-09-02 18:32:58 -05:00
propertywindow.py remove various python2 workarounds 2021-08-01 12:36:41 +02:00
pyhal.py pyhal component names were not being registered properly when using python3. 2021-12-24 09:15:16 -05:00
pyngcgui.py pyngcgui.py: handle absent [DISPLAY]PROGRAM_PREFIX 2022-10-16 17:52:38 -07:00
pyvcp_widgets.py Merge pull request #1696 from ALatSMT/master 2022-04-05 00:43:43 -07:00
raster.py Adds laser raster and vector control components. 2022-11-30 16:16:01 -05:00
tooldb.py tooldata_db.cc: support db_program args v2.1 2022-10-16 18:03:11 -07:00
vcpparse.py Allow one or more embedded pyvcp tabs in axis 2022-09-30 14:38:58 +10:00
vismach.py glnav.py:GlNavBase:set_viewangle() add forcerotate 2023-01-03 12:12:19 -07:00