mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Make sure we're not trying to get/set extruder values on machine stacks
This commit is contained in:
parent
5b37353b08
commit
064f744bc0
1 changed files with 5 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue