Skip to content

Commit d0947c5

Browse files
committed
Include new print feature type
CURA-11978
1 parent 53b91a7 commit d0947c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cura/LayerPolygon.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ class LayerPolygon:
2525
PrimeTowerType = 11
2626
MoveWhileRetractingType = 12
2727
MoveWhileUnretractingType = 13
28-
__number_of_types = 14
28+
StationaryRetractUnretract = 14
29+
__number_of_types = 15
2930

3031
__jump_map = numpy.logical_or(numpy.logical_or(numpy.logical_or(
3132
numpy.arange(__number_of_types) == NoneType,
@@ -281,6 +282,7 @@ def getColorMap(cls) -> numpy.ndarray:
281282
theme.getColor("layerview_prime_tower").getRgbF(), # PrimeTowerType
282283
theme.getColor("layerview_move_while_retracting").getRgbF(), # MoveWhileRetracting
283284
theme.getColor("layerview_move_while_unretracting").getRgbF(), # MoveWhileUnretracting
285+
theme.getColor("layerview_move_retraction").getRgbF(), # StationaryRetractUnretract
284286
])
285287

286288
return cls.__color_map

0 commit comments

Comments
 (0)