mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Skip containers that can not be serialized
CURA-1445
This commit is contained in:
parent
51259e2684
commit
3f7f6f8a23
1 changed files with 6 additions and 1 deletions
|
@ -92,7 +92,12 @@ class SliceInfo(Extension):
|
|||
}
|
||||
for container in global_container_stack.getContainers():
|
||||
container_id = container.getId()
|
||||
try:
|
||||
container_serialized = container.serialize()
|
||||
except NotImplementedError:
|
||||
Logger.log("w", "Container %s could not be serialized!", container_id)
|
||||
continue
|
||||
|
||||
if container_serialized:
|
||||
submitted_data["settings_%s" %(container_id)] = container_serialized # This can be anything, eg. INI, JSON, etc.
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue