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>2016-09-06 12:21:48 +0300
committerGhostkeeper <rubend@tutanota.com>2016-09-06 12:21:48 +0300
commit7c8e80b751d721032cdc924a956e74245266ec04 (patch)
tree07e903b32af2da14b3fe98bfbf5124865a57e513 /cura/LayerPolygon.py
parent635f26da8e053014356118f40d6fcab68d40683a (diff)
Properly hide moves and retractions in lower layers
Not the neatest solution. We might want to make a preference for this? I sorta like to see those travel moves, actually. Contributes to issue CURA-2049.
Diffstat (limited to 'cura/LayerPolygon.py')
-rw-r--r--cura/LayerPolygon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/LayerPolygon.py b/cura/LayerPolygon.py
index c5eb4b699e..387a369aa3 100644
--- a/cura/LayerPolygon.py
+++ b/cura/LayerPolygon.py
@@ -16,7 +16,7 @@ class LayerPolygon:
MoveRetractionType = 9
SupportInterfaceType = 10
- __jump_map = numpy.logical_or( numpy.arange(11) == NoneType, numpy.arange(11) >= MoveRetractionType )
+ __jump_map = numpy.logical_or(numpy.logical_or(numpy.arange(11) == NoneType, numpy.arange(11) == MoveCombingType), numpy.arange(11) == MoveRetractionType)
def __init__(self, mesh, extruder, line_types, data, line_widths):
self._mesh = mesh