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.
This commit is contained in:
Ghostkeeper 2016-09-06 11:21:48 +02:00
parent 635f26da8e
commit 7c8e80b751
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -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