mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 22:31:21 -07:00
Fix typo in the getCompatibleMaterialDiameter function.
Contributes to CURA-5834.
This commit is contained in:
parent
ea9aa2c777
commit
94ef0b92fe
4 changed files with 11 additions and 11 deletions
|
|
@ -926,7 +926,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
build_plate_id = global_stack.variant.getId()
|
||||
|
||||
# get material diameter of this extruder
|
||||
machine_material_diameter = extruder_stack.comptabileMaterialDiameter
|
||||
machine_material_diameter = extruder_stack.getCompatibleMaterialDiameter()
|
||||
material_node = material_manager.getMaterialNode(global_stack.definition.getId(),
|
||||
extruder_stack.variant.getName(),
|
||||
build_plate_id,
|
||||
|
|
|
|||
|
|
@ -410,7 +410,7 @@ Cura.MachineAction
|
|||
}
|
||||
function setValueFunction(value)
|
||||
{
|
||||
Cura.MachineManager.activeStack.compatibleMaterialDiameter = value;
|
||||
Cura.MachineManager.activeStack.compatibleMaterialDiameter = value
|
||||
}
|
||||
property bool isExtruderSetting: true
|
||||
}
|
||||
|
|
@ -634,19 +634,19 @@ Cura.MachineAction
|
|||
// are available.
|
||||
if (_setValueFunction !== undefined)
|
||||
{
|
||||
_setValueFunction(text);
|
||||
_setValueFunction(text)
|
||||
}
|
||||
else
|
||||
{
|
||||
propertyProvider.setPropertyValue("value", text);
|
||||
propertyProvider.setPropertyValue("value", text)
|
||||
}
|
||||
if(_forceUpdateOnChange)
|
||||
{
|
||||
manager.forceUpdate();
|
||||
manager.forceUpdate()
|
||||
}
|
||||
if(_afterOnEditingFinished)
|
||||
{
|
||||
_afterOnEditingFinished();
|
||||
_afterOnEditingFinished()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue