io_scene_3ds: Added spotlight aspect and projector #104813

Merged
Sebastian Sille merged 69 commits from :main into main 2023-08-03 00:41:35 +02:00
Showing only changes of commit 512974e200 - Show all commits

View File

@ -1206,8 +1206,8 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
keyframe_data = {} keyframe_data = {}
default_data = child.color[:] default_data = child.color[:]
child.color = read_track_data(new_chunk)[0] child.color = read_track_data(new_chunk)[0]
ambilite.color = child.color ambinode.inputs[0].default_value[:3] = child.color
ambinode.inputs[0].default_value[:3] = ambilite.color ambilite.outputs[0].default_value[:3] = child.color
for keydata in keyframe_data.items(): for keydata in keyframe_data.items():
ambinode.inputs[0].default_value[:3] = keydata[1] ambinode.inputs[0].default_value[:3] = keydata[1]
child.color = ambilite.outputs[0].default_value[:3] = keydata[1] child.color = ambilite.outputs[0].default_value[:3] = keydata[1]