mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 02:28:58 +08:00
Enabled property is now taken into account for inheritance override
CURA-2361
This commit is contained in:
parent
9a7057ce65
commit
615ec67b1b
@ -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…
x
Reference in New Issue
Block a user