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