mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 21:27:50 -06:00
Fixed layerview extruder choice checkboxes. CURA-3273
This commit is contained in:
parent
c67ec7f8ab
commit
bb030c724b
1 changed files with 2 additions and 2 deletions
|
@ -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.float32)
|
||||
extruders = numpy.empty((vertex_count), numpy.int32) # Only usable for newer OpenGL versions
|
||||
line_types = numpy.empty((vertex_count), numpy.float32)
|
||||
|
||||
vertex_offset = 0
|
||||
|
@ -95,7 +95,7 @@ class LayerDataBuilder(MeshBuilder):
|
|||
"extruders": {
|
||||
"value": extruders,
|
||||
"opengl_name": "a_extruder",
|
||||
"opengl_type": "float"
|
||||
"opengl_type": "float" # Strangely enough, the type has to be float while it is actually an int.
|
||||
},
|
||||
"colors": {
|
||||
"value": material_colors,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue