Fix reading per-object settings from 3MF object resources

This metadata has been changed to contain other information. Readers of information from 3MF need to adjust their stance too to filter out the information they need from the metadata of the metadata.

Contributes to issue CURA-7615.
This commit is contained in:
Ghostkeeper 2021-02-08 15:07:33 +01:00
parent f442417ac6
commit 06086dfaaf
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -161,7 +161,7 @@ class ThreeMFReader(MeshReader):
setting_container = um_node.callDecoration("getStack").getTop()
known_setting_keys = um_node.callDecoration("getStack").getAllKeys()
for key in settings:
setting_value = settings[key]
setting_value = settings[key].value
# Extruder_nr is a special case.
if key == "extruder_nr":