mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-25 13:55:08 -07:00
Merge pull request #14717 from Ultimaker/CURA-10342_wrong_extruder_recommended_settings
Wrong extruder recommended settings
This commit is contained in:
commit
21f71cf3bd
4 changed files with 3 additions and 4 deletions
|
|
@ -466,7 +466,6 @@ class ExtruderManager(QObject):
|
|||
return False
|
||||
return list(active_material_node_qualities.keys())[0] != "empty_quality"
|
||||
|
||||
|
||||
@pyqtSlot(str, result="QVariant")
|
||||
def getInstanceExtruderValues(self, key: str) -> List:
|
||||
"""Get all extruder values for a certain setting.
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ Cura.ComboBox {
|
|||
// The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine.
|
||||
property bool updateAllExtruders: false
|
||||
// This is only used if updateAllExtruders == true
|
||||
property int defaultExtruderIndex: 0
|
||||
property int defaultExtruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||
|
||||
model: ListModel
|
||||
{
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ UM.Slider
|
|||
// The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine.
|
||||
property bool updateAllExtruders: false
|
||||
// This is only used if updateAllExtruders == true
|
||||
property int defaultExtruderIndex: 0
|
||||
property int defaultExtruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||
property int previousValue: -1
|
||||
|
||||
// set range from 0 to 100
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ UM.TextField
|
|||
// The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine.
|
||||
property bool updateAllExtruders: false
|
||||
// This is only used if updateAllExtruders == true
|
||||
property int defaultExtruderIndex: 0
|
||||
property int defaultExtruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||
|
||||
// Resolving the value in the textField.
|
||||
Binding
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue