T466: Fixed show only top layers bug

This commit is contained in:
Victor Larchenko 2016-11-10 16:56:45 +06:00 committed by Youness Alaoui
parent 2948e99fe8
commit ce9251b5a6
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ class GCodeReader(MeshReader):
count = len(path)
line_types = numpy.empty((count - 1, 1), numpy.int32)
line_types[:, 0] = 1
line_widths = numpy.empty((count - 1, 1), numpy.int32)
line_widths = numpy.empty((count - 1, 1), numpy.float32)
line_widths[:, 0] = 0.5
points = numpy.empty((count, 3), numpy.float32)
i = 0