mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 07:05:11 +08:00
Merge pull request #14717 from Ultimaker/CURA-10342_wrong_extruder_recommended_settings
Wrong extruder recommended settings
This commit is contained in:
commit
21f71cf3bd
@ -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…
x
Reference in New Issue
Block a user