mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 21:28:58 +08:00
Make sure we're not trying to get/set extruder values on machine stacks
This commit is contained in:
parent
5b37353b08
commit
064f744bc0
@ -807,7 +807,7 @@ Cura.MachineAction
|
||||
{
|
||||
id: extruderNozzleSizeProvider
|
||||
|
||||
containerStackId: Cura.MachineManager.activeStackId
|
||||
containerStackId: Cura.ExtruderManager.activeExtruderIndex > 0 ? Cura.MachineManager.activeStackId : ""
|
||||
key: "machine_nozzle_size"
|
||||
watchedProperties: [ "value" ]
|
||||
storeIndex: manager.containerIndex
|
||||
@ -817,7 +817,7 @@ Cura.MachineAction
|
||||
{
|
||||
id: extruderOffsetXProvider
|
||||
|
||||
containerStackId: Cura.MachineManager.activeStackId
|
||||
containerStackId: Cura.ExtruderManager.activeExtruderIndex > 0 ? Cura.MachineManager.activeStackId : ""
|
||||
key: "machine_nozzle_offset_x"
|
||||
watchedProperties: [ "value" ]
|
||||
storeIndex: manager.containerIndex
|
||||
@ -827,7 +827,7 @@ Cura.MachineAction
|
||||
{
|
||||
id: extruderOffsetYProvider
|
||||
|
||||
containerStackId: Cura.MachineManager.activeStackId
|
||||
containerStackId: Cura.ExtruderManager.activeExtruderIndex > 0 ? Cura.MachineManager.activeStackId : ""
|
||||
key: "machine_nozzle_offset_y"
|
||||
watchedProperties: [ "value" ]
|
||||
storeIndex: manager.containerIndex
|
||||
@ -837,7 +837,7 @@ Cura.MachineAction
|
||||
{
|
||||
id: extruderStartGcodeProvider
|
||||
|
||||
containerStackId: Cura.MachineManager.activeStackId
|
||||
containerStackId: Cura.ExtruderManager.activeExtruderIndex > 0 ? Cura.MachineManager.activeStackId : ""
|
||||
key: "machine_extruder_start_code"
|
||||
watchedProperties: [ "value" ]
|
||||
storeIndex: manager.containerIndex
|
||||
@ -847,11 +847,9 @@ Cura.MachineAction
|
||||
{
|
||||
id: extruderEndGcodeProvider
|
||||
|
||||
containerStackId: Cura.MachineManager.activeStackId
|
||||
containerStackId: Cura.ExtruderManager.activeExtruderIndex > 0 ? Cura.MachineManager.activeStackId : ""
|
||||
key: "machine_extruder_end_code"
|
||||
watchedProperties: [ "value" ]
|
||||
storeIndex: manager.containerIndex
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user