mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fixed next XY return position after pause
This commit is contained in:
parent
6d7d7bdb95
commit
d568531aed
1 changed files with 5 additions and 4 deletions
|
@ -204,6 +204,7 @@ class PauseAtHeight(Script):
|
|||
"""Get the X and Y values for a layer (will be used to get X and Y of the layer after the pause)."""
|
||||
lines = layer.split("\n")
|
||||
for line in lines:
|
||||
if not line.startswith("M205"):
|
||||
if self.getValue(line, "X") is not None and self.getValue(line, "Y") is not None:
|
||||
x = self.getValue(line, "X")
|
||||
y = self.getValue(line, "Y")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue