mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:39:02 +08: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
@ -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…
x
Reference in New Issue
Block a user