mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Handle the case that resolve is undefined
CURA-6490
This commit is contained in:
parent
9793fc16a3
commit
a14eb50fec
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ SettingItem
|
|||
// 4: variant
|
||||
// 5: machine
|
||||
var value
|
||||
if ((base.resolve != "None") && (stackLevel != 0) && (stackLevel != 1))
|
||||
if ((base.resolve !== undefined && base.resolve != "None") && (stackLevel != 0) && (stackLevel != 1))
|
||||
{
|
||||
// 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue