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 da86b60872 - Show all commits

View File

@ -1407,7 +1407,7 @@ def load_3ds(filepath, context, CONSTRAIN=10.0, UNITS=False, IMAGE_SEARCH=True,
scn = context.scene
if UNITS:
unit_length = sce.unit_settings.length_unit
unit_length = scn.unit_settings.length_unit
if unit_length == 'KILOMETERS':
MEASURE = 1000.0
elif unit_length == 'CENTIMETERS':