mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Fix updating resolved values when changing material. Contributes to CURA-2159
This commit is contained in:
parent
2cde439964
commit
8304f17efd
1 changed files with 8 additions and 1 deletions
|
@ -107,7 +107,14 @@ SettingItem
|
|||
target: input
|
||||
property: "text"
|
||||
value: {
|
||||
if ((propertyProvider.properties.resolve != "None") && (stackLevel != 0) && (stackLevel != 1)) {
|
||||
// Stacklevels
|
||||
// 0: user -> unsaved change
|
||||
// 1: quality changes -> saved change
|
||||
// 2: quality
|
||||
// 3: material -> user changed material in materialspage
|
||||
// 4: variant
|
||||
// 5: machine
|
||||
if ((propertyProvider.properties.resolve != "None") && (stackLevel != 0) && (stackLevel != 1) && (stackLevel != 3)) {
|
||||
// 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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue