chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added skin setting to advanced settings
[cura.git]
/
Cura
/
util
/
gcodeInterpreter.py
diff --git
a/Cura/util/gcodeInterpreter.py
b/Cura/util/gcodeInterpreter.py
index 3570d49e99d8e7b7979bb86ce982cd87d4d852ad..0518be27316f8bf0fefa97c3a49593877a173c10 100644
(file)
--- a/
Cura/util/gcodeInterpreter.py
+++ b/
Cura/util/gcodeInterpreter.py
@@
-105,7
+105,7
@@
class gcode():
else:
pos.z += z * scale
#Check if we have a new layer.
- if oldPos.z
!= pos.z and startCodeDone
:
+ if oldPos.z
< pos.z and startCodeDone and len(currentLayer) > 0
:
self.layerList.append(currentLayer)
currentLayer = []
if f is not None: