Skip to content

Commit 1b111aa

Browse files
committed
qtplasmac: fix missing g64 value in run from line
1 parent 54bca16 commit 1b111aa

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

lib/python/plasmac/run_from_line.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,14 @@ def run_from_line_get(file, startLine):
9191
elif t1[1] == '6':
9292
codes['g6_'] = t1
9393
if t1 == 'G64':
94-
tmp = line.split('64')[1]
94+
tmp = line.split('64')[1].strip()
9595
if tmp[0] == 'P':
9696
p = ''
9797
tmp = tmp[1:]
9898
while 1:
99-
if tmp[0] in '.0123456789Q':
99+
if not tmp:
100+
break
101+
elif tmp[0] in '.0123456789Q':
100102
p += tmp[0]
101103
tmp = tmp[1:]
102104
else:

share/qtvcp/screens/qtplasmac/qtplasmac_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = '236.302'
1+
VERSION = '236.303'
22
LCNCVER = '2.9'
33
DOCSVER = LCNCVER
44

share/qtvcp/screens/qtplasmac/versions.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ <h2>QtPlasmaC Version History - LinuxCNC 2.9</h2>
2626
</table>
2727
<br>
2828
<!--- ****** ADD NEXT VERSION BELOW THIS LINE ****** --->
29+
<br><b><u>236.303 2024 Feb 16</u></b>
30+
<ul style="margin:0;">
31+
<li>fix missing g64 value in run from line</li>
32+
</ul>
33+
2934
<br><b><u>236.302 2024 Jan 15</u></b>
3035
<ul style="margin:0;">
3136
<li>fix conversational triangle</li>

0 commit comments

Comments
 (0)