Make sure to send all settings when an object overrides the profile

Contributes to CURA-255
This commit is contained in:
Arjen Hiemstra 2015-11-06 17:55:36 +01:00
parent 3029409b89
commit f75b6bb046

View file

@ -107,7 +107,7 @@ class StartSliceJob(Job):
def _handlePerObjectSettings(self, node, message):
profile = node.callDecoration("getProfile")
if profile:
for key, value in profile.getChangedSettingValues().items():
for key, value in profile.getAllSettingValues().items():
setting = message.settings.add()
setting.name = key
setting.value = str(value).encode()