Fixed compatibility mode active extruder. CURA-3321

This commit is contained in:
U-ULTIMAKER\j.ha 2017-03-02 13:15:29 +01:00
parent d372e73eda
commit c54d5ce707
5 changed files with 3 additions and 4 deletions

2
cura/LayerDataBuilder.py Normal file → Executable file
View file

@ -63,7 +63,7 @@ class LayerDataBuilder(MeshBuilder):
line_dimensions = numpy.empty((vertex_count, 2), numpy.float32)
colors = numpy.empty((vertex_count, 4), numpy.float32)
indices = numpy.empty((index_count, 2), numpy.int32)
extruders = numpy.empty((vertex_count), numpy.int32) # Only usable for newer OpenGL versions
extruders = numpy.empty((vertex_count), numpy.float32)
line_types = numpy.empty((vertex_count), numpy.float32)
vertex_offset = 0