mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Enabled property is now taken into account for inheritance override
CURA-2361
This commit is contained in:
parent
9a7057ce65
commit
615ec67b1b
1 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,10 @@ class SettingInheritanceManager(QObject):
|
|||
has_user_state = self._active_container_stack.getProperty(key, "state") == UM.Settings.InstanceState.User
|
||||
if not has_user_state:
|
||||
return False
|
||||
|
||||
if not self._active_container_stack.getProperty(key, "enabled"):
|
||||
return False
|
||||
|
||||
while stack:
|
||||
containers.extend(stack.getContainers())
|
||||
stack = stack.getNextStack()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue