Import_3ds: Avoid any None in object lists #104785

Merged
Sebastian Sille merged 26 commits from :main into main 2023-07-27 18:46:27 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8b1dc3f7b7 - Show all commits

View File

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