Make limit_to_extruder update properly when value changes happen

Contributes to CURA-3738
This commit is contained in:
Arjen Hiemstra 2017-05-18 12:46:06 +02:00
parent b16913ec3d
commit 89adc46142

View file

@ -138,7 +138,7 @@ class CuraApplication(QtApplication):
# From which stack the setting would inherit if not defined per object (handled in the engine)
# AND for settings which are not settable_per_mesh:
# which extruder is the only extruder this setting is obtained from
SettingDefinition.addSupportedProperty("limit_to_extruder", DefinitionPropertyType.Function, default = "-1")
SettingDefinition.addSupportedProperty("limit_to_extruder", DefinitionPropertyType.Function, default = "-1", depends_on = "value")
# For settings which are not settable_per_mesh and not settable_per_extruder:
# A function which determines the glabel/meshgroup value by looking at the values of the setting in all (used) extruders