mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Merge pull request #4650 from Ultimaker/CURA-5857_fix_machine_settings_set_diameter
[3.6] [CURA-5857] Fix setting extruder material diameter in Machine Settings dialog
This commit is contained in:
commit
5133b6300a
1 changed files with 6 additions and 2 deletions
|
@ -405,12 +405,16 @@ Cura.MachineAction
|
|||
{
|
||||
if (settingsTabs.currentIndex > 0)
|
||||
{
|
||||
manager.updateMaterialForDiameter(settingsTabs.currentIndex - 1);
|
||||
manager.updateMaterialForDiameter(settingsTabs.currentIndex - 1)
|
||||
}
|
||||
}
|
||||
function setValueFunction(value)
|
||||
{
|
||||
Cura.MachineManager.activeStack.compatibleMaterialDiameter = value
|
||||
if (settingsTabs.currentIndex > 0)
|
||||
{
|
||||
var extruderIndex = (settingsTabs.currentIndex - 1).toString()
|
||||
Cura.MachineManager.activeMachine.extruders[extruderIndex].compatibleMaterialDiameter = value
|
||||
}
|
||||
}
|
||||
property bool isExtruderSetting: true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue