io_scene_3ds: Improved import and export of background color and images #104801

Merged
Sebastian Sille merged 54 commits from :main into main 2023-07-30 16:34:21 +02:00
Showing only changes of commit 7116a3fa65 - Show all commits

View File

@ -1049,7 +1049,7 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
imported_objects.append(child) imported_objects.append(child)
else: else:
tracking = tracktype = None tracking = tracktype = None
if tracktype != 'TARGET' and tracking != 'AMBIENT': if child is not None and tracktype != 'TARGET' and tracking != 'AMBIENT':
object_dict[object_id] = child object_dict[object_id] = child
object_list.append(child) object_list.append(child)
object_parent.append(hierarchy) object_parent.append(hierarchy)