mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Use global stack to evaluate limit_to_extruder value
CURA-3738 Getting limit_to_extruder from definition in QML returns a SettingFunction which hasn't been evaluated. This causes the comparison not to be working. We change it to use the global stack to evaluate so we can get an actual extruder number string.
This commit is contained in:
parent
29c883d489
commit
64ae8bb595
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ Item {
|
|||
{
|
||||
id: linkedSettingIcon;
|
||||
|
||||
visible: Cura.MachineManager.activeStackId != Cura.MachineManager.activeMachineId && (!definition.settable_per_extruder || definition.limit_to_extruder != "-1") && base.showLinkedSettingIcon
|
||||
visible: Cura.MachineManager.activeStackId != Cura.MachineManager.activeMachineId && (!definition.settable_per_extruder || globalPropertyProvider.properties.limit_to_extruder != "-1") && base.showLinkedSettingIcon
|
||||
|
||||
height: parent.height;
|
||||
width: height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue