io_scene_3ds: Added light radius, distance and attenuation #104817

Merged
Sebastian Sille merged 73 commits from :main into main 2023-08-03 23:31:45 +02:00
Showing only changes of commit 1c8d5ace0a - Show all commits

View File

@ -1538,7 +1538,7 @@ def save(operator, context, filepath="", scale_factor=1.0, unit_convert=False,
# Add MASTERSCALE element
mscale = _3ds_chunk(MASTERSCALE)
mscale.add_variable("scale", _3ds_float(1.0))
mscale.add_variable("scale", _3ds_float(unit_measure))
object_info.add_subchunk(mscale)
# Init main keyframe data chunk