mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:38:59 +08:00
The right stack is now used for limit to extruder setting property provider for single extrusion machine
This was mostly an issue when switching between printers, where some ids were set to undefined. CURA-2835
This commit is contained in:
parent
e0b926878f
commit
74d8148e0c
@ -99,9 +99,9 @@ ScrollView
|
|||||||
when: model.settable_per_extruder || (inheritStackProvider.properties.limit_to_extruder != null && inheritStackProvider.properties.limit_to_extruder >= 0);
|
when: model.settable_per_extruder || (inheritStackProvider.properties.limit_to_extruder != null && inheritStackProvider.properties.limit_to_extruder >= 0);
|
||||||
value:
|
value:
|
||||||
{
|
{
|
||||||
if(!model.settable_per_extruder)
|
if(!model.settable_per_extruder || machineExtruderCount.properties.value == 1)
|
||||||
{
|
{
|
||||||
//Not settable per extruder, so we must pick global.
|
//Not settable per extruder or there only is global, so we must pick global.
|
||||||
return Cura.MachineManager.activeMachineId;
|
return Cura.MachineManager.activeMachineId;
|
||||||
}
|
}
|
||||||
if(inheritStackProvider.properties.limit_to_extruder != null && inheritStackProvider.properties.limit_to_extruder >= 0)
|
if(inheritStackProvider.properties.limit_to_extruder != null && inheritStackProvider.properties.limit_to_extruder >= 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user