mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -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
50c4b88050
commit
b797fcc74d
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