Merge pull request #14717 from Ultimaker/CURA-10342_wrong_extruder_recommended_settings

Wrong extruder recommended settings
This commit is contained in:
Casper Lamboo 2023-02-28 13:36:44 +01:00 committed by GitHub
commit 21f71cf3bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 4 deletions

View File

@ -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.

View File

@ -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
{

View File

@ -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

View File

@ -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