Change setting type for extruder_nr settings

This way it can determine the difference between an integer and an index in the extruder list.

Contributes to issues CURA-1278.
This commit is contained in:
Ghostkeeper 2016-06-02 15:30:39 +02:00
parent 7146c9ab7d
commit 1a30dd96b1
No known key found for this signature in database
GPG Key ID: 701948C5954A7385
2 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@
{ {
"label": "Extruder", "label": "Extruder",
"description": "The extruder train used for printing. This is used in multi-extrusion.", "description": "The extruder train used for printing. This is used in multi-extrusion.",
"type": "int", "type": "extruder",
"default_value": 0, "default_value": 0,
"minimum_value": "0" "minimum_value": "0"
}, },

View File

@ -2125,7 +2125,7 @@
{ {
"label": "Platform Adhesion Extruder", "label": "Platform Adhesion Extruder",
"description": "The extruder train to use for printing the skirt/brim/raft. This is used in multi-extrusion.", "description": "The extruder train to use for printing the skirt/brim/raft. This is used in multi-extrusion.",
"type": "int", "type": "extruder",
"default_value": 0, "default_value": 0,
"minimum_value": "0", "minimum_value": "0",
"maximum_value": "machine_extruder_count - 1", "maximum_value": "machine_extruder_count - 1",
@ -2135,7 +2135,7 @@
{ {
"label": "Support Extruder", "label": "Support Extruder",
"description": "The extruder train to use for printing the support. This is used in multi-extrusion.", "description": "The extruder train to use for printing the support. This is used in multi-extrusion.",
"type": "int", "type": "extruder",
"default_value": 0, "default_value": 0,
"minimum_value": "0", "minimum_value": "0",
"maximum_value": "machine_extruder_count - 1", "maximum_value": "machine_extruder_count - 1",
@ -2145,7 +2145,7 @@
{ {
"label": "Support Infill Extruder", "label": "Support Infill Extruder",
"description": "The extruder train to use for printing the infill of the support. This is used in multi-extrusion.", "description": "The extruder train to use for printing the infill of the support. This is used in multi-extrusion.",
"type": "int", "type": "extruder",
"default_value": 0, "default_value": 0,
"value": "support_extruder_nr", "value": "support_extruder_nr",
"minimum_value": "0", "minimum_value": "0",
@ -2156,7 +2156,7 @@
{ {
"label": "First Layer Support Extruder", "label": "First Layer Support Extruder",
"description": "The extruder train to use for printing the first layer of support infill. This is used in multi-extrusion.", "description": "The extruder train to use for printing the first layer of support infill. This is used in multi-extrusion.",
"type": "int", "type": "extruder",
"default_value": 0, "default_value": 0,
"value": "support_extruder_nr", "value": "support_extruder_nr",
"minimum_value": "0", "minimum_value": "0",
@ -2167,7 +2167,7 @@
{ {
"label": "Support Roof Extruder", "label": "Support Roof Extruder",
"description": "The extruder train to use for printing the roof of the support. This is used in multi-extrusion.", "description": "The extruder train to use for printing the roof of the support. This is used in multi-extrusion.",
"type": "int", "type": "extruder",
"default_value": 0, "default_value": 0,
"value": "support_extruder_nr", "value": "support_extruder_nr",
"minimum_value": "0", "minimum_value": "0",