mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Seems to work, except for the tooltip (shows global value). CURA-2007
This commit is contained in:
parent
30898f9642
commit
c0dd19ce08
2 changed files with 3 additions and 6 deletions
|
@ -107,14 +107,11 @@ SettingItem
|
|||
target: input
|
||||
property: "text"
|
||||
value: {
|
||||
if (propertyProvider.properties.resolve != "None") {
|
||||
if ((propertyProvider.properties.resolve != "None") && (stackLevel != 0)) {
|
||||
// We have a resolve function. Indicates that the setting is not settable per extruder and that
|
||||
// we have to choose between the resolved value (default) and the global value
|
||||
// (if user has explicitly set this).
|
||||
if (definition.key == "material_bed_temperature") {
|
||||
CuraApplication.log("## global value " + globalPropertyProvider.properties.value);
|
||||
}
|
||||
return (globalPropertyProvider.properties.value != null) ? globalPropertyProvider.properties.value : propertyProvider.properties.resolve;
|
||||
return propertyProvider.properties.resolve;
|
||||
} else {
|
||||
return propertyProvider.properties.value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue