PerObject settings don't automatically get a user changed state

CURA-2113
This commit is contained in:
Jaime van Kessel 2016-08-11 14:57:21 +02:00
parent 6075536497
commit 91dfd971ca

View file

@ -70,6 +70,7 @@ class PerObjectSettingVisibilityHandler(UM.Settings.Models.SettingVisibilityHand
else:
stack = UM.Application.getInstance().getGlobalContainerStack()
new_instance.setProperty("value", stack.getProperty(item, "value"))
new_instance.resetState() # Ensute that the state is not seen as a user state.
settings.addInstance(new_instance)
visibility_changed = True
else: