mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:49:04 +08:00
Make sure to send all settings when an object overrides the profile
Contributes to CURA-255
This commit is contained in:
parent
3029409b89
commit
f75b6bb046
@ -107,7 +107,7 @@ class StartSliceJob(Job):
|
|||||||
def _handlePerObjectSettings(self, node, message):
|
def _handlePerObjectSettings(self, node, message):
|
||||||
profile = node.callDecoration("getProfile")
|
profile = node.callDecoration("getProfile")
|
||||||
if profile:
|
if profile:
|
||||||
for key, value in profile.getChangedSettingValues().items():
|
for key, value in profile.getAllSettingValues().items():
|
||||||
setting = message.settings.add()
|
setting = message.settings.add()
|
||||||
setting.name = key
|
setting.name = key
|
||||||
setting.value = str(value).encode()
|
setting.value = str(value).encode()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user