mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
The MachineManager doesn't have the extruder stacks but the active
machine does, so use it when setting the compatible material diameter to the current extruder. Contributes to CURA-5857.
This commit is contained in:
parent
197bf057cc
commit
f1d94d921c
1 changed files with 3 additions and 3 deletions
|
@ -405,15 +405,15 @@ Cura.MachineAction
|
|||
{
|
||||
if (settingsTabs.currentIndex > 0)
|
||||
{
|
||||
manager.updateMaterialForDiameter(settingsTabs.currentIndex - 1);
|
||||
manager.updateMaterialForDiameter(settingsTabs.currentIndex - 1)
|
||||
}
|
||||
}
|
||||
function setValueFunction(value)
|
||||
{
|
||||
if (settingsTabs.currentIndex > 0)
|
||||
{
|
||||
var extruderIndex = (settingsTabs.currentIndex - 1).toString();
|
||||
Cura.MachineManager.extruders[extruderIndex].compatibleMaterialDiameter = value;
|
||||
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