io_scene_3ds: Added spotlight parameters #104564

Merged
Sebastian Sille merged 4 commits from nrgsille-io_scene_3ds into main 2023-04-22 14:29:02 +02:00
Showing only changes of commit 81713ce51a - Show all commits

View File

@ -989,7 +989,7 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
# including these here means their OB_NODE_HDR are scanned
# another object is being processed
elif new_chunk.ID in {KFDATA_AMBIENT, KFDATA_OBJECT, KFDATA_CAMERA, KFDATA_LIGHT}:
elif new_chunk.ID in {KFDATA_AMBIENT, KFDATA_OBJECT, KFDATA_CAMERA, KFDATA_LIGHT, KFDATA_SPOTLIGHT}:
object_id = ROOT_OBJECT
tracking = 'OBJECT'
child = None