mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 04:11:07 -07:00
Solved (with an ugly fix) that after loading some projects, 'Slicing...' appears without doing anything. CURA-1263
This commit is contained in:
parent
a6194aa2cf
commit
a9a9390aa6
5 changed files with 13 additions and 1 deletions
|
|
@ -230,6 +230,10 @@ Item {
|
|||
}
|
||||
|
||||
// Setting does have a limit_to_extruder property, so use that one instead.
|
||||
if (definition.key === undefined) {
|
||||
// Observed when loading workspace, probably when SettingItems are removed.
|
||||
return false;
|
||||
}
|
||||
return Cura.SettingInheritanceManager.getOverridesForExtruder(definition.key, globalPropertyProvider.properties.limit_to_extruder).indexOf(definition.key) >= 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue