Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2019-05-06 11:26:53 +0300
committerGhostkeeper <rubend@tutanota.com>2019-05-06 11:26:53 +0300
commit15706b7696e757255337627839af443424bfda47 (patch)
tree582b4a35237347177b7843ecd550e7732f4b002c /plugins/GCodeReader
parente363f1af948b013d5a15005847986826638ac78d (diff)
Fix colour of prime tower
Diffstat (limited to 'plugins/GCodeReader')
-rw-r--r--plugins/GCodeReader/FlavorParser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/GCodeReader/FlavorParser.py b/plugins/GCodeReader/FlavorParser.py
index 4c88e5c953..4c73a3b9a2 100644
--- a/plugins/GCodeReader/FlavorParser.py
+++ b/plugins/GCodeReader/FlavorParser.py
@@ -370,6 +370,8 @@ class FlavorParser:
self._layer_type = LayerPolygon.InfillType
elif type == "SUPPORT-INTERFACE":
self._layer_type = LayerPolygon.SupportInterfaceType
+ elif type == "PRIME-TOWER":
+ self._layer_type = LayerPolygon.SkirtType
else:
Logger.log("w", "Encountered a unknown type (%s) while parsing g-code.", type)