io_scene_3ds: Added spotlight aspect and projector #104813
@ -1545,6 +1545,8 @@ def save(operator, context, filepath="", scale_factor=1.0, use_scene_unit=False,
|
||||
unit_measure = 0.000621371
|
||||
elif unit_length == 'KILOMETERS':
|
||||
unit_measure = 0.001
|
||||
elif unit_length == 'FEET':
|
||||
unit_measure = 3.280839895
|
||||
elif unit_length == 'INCHES':
|
||||
unit_measure = 39.37007874
|
||||
elif unit_length == 'CENTIMETERS':
|
||||
|
@ -1479,8 +1479,10 @@ def load_3ds(filepath, context, CONSTRAIN=10.0, UNITS=False, IMAGE_SEARCH=True,
|
||||
MEASURE = 1609.344
|
||||
elif unit_length == 'KILOMETERS':
|
||||
MEASURE = 1000.0
|
||||
elif unit_length == 'INCHES':
|
||||
elif unit_length == 'FEET':
|
||||
MEASURE = 0.3048
|
||||
elif unit_length == 'INCHES':
|
||||
MEASURE = 0.0254
|
||||
elif unit_length == 'CENTIMETERS':
|
||||
MEASURE = 0.01
|
||||
elif unit_length == 'MILLIMETERS':
|
||||
|
Loading…
Reference in New Issue
Block a user