mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -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
|
target: input
|
||||||
property: "text"
|
property: "text"
|
||||||
value: {
|
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 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
|
// we have to choose between the resolved value (default) and the global value
|
||||||
// (if user has explicitly set this).
|
// (if user has explicitly set this).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue