make set concatenation python 2 and 3 compatible

This commit is contained in:
iLLiCiTiT 2021-04-20 13:48:07 +02:00
parent 29d582c47e
commit b12e4f42c8

View file

@ -581,7 +581,7 @@ def get_shader_assignments_from_shapes(shapes, components=True):
# Build a mapping from parent to shapes to include in lookup.
transforms = {shape.rsplit("|", 1)[0]: shape for shape in shapes}
lookup = set(shapes + transforms.keys())
lookup = set(shapes) | set(transforms.keys())
component_assignments = defaultdict(list)
for shading_group in assignments.keys():