io_scene_3ds: Improved import and export of background color and images #104801

Merged
Sebastian Sille merged 54 commits from :main into main 2023-07-30 16:34:21 +02:00
Showing only changes of commit 482cf8f602 - Show all commits

View File

@ -762,7 +762,7 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
contextWorld.mist_settings.use_mist = True contextWorld.mist_settings.use_mist = True
contextWorld.mist_settings.start = read_float(new_chunk) contextWorld.mist_settings.start = read_float(new_chunk)
contextWorld.mist_settings.depth = read_float(new_chunk) contextWorld.mist_settings.depth = read_float(new_chunk)
contextWorld.mist_settings.heigth = contextWorld.mist_settings.depth * 0.5 contextWorld.mist_settings.height = contextWorld.mist_settings.depth * 0.5
layerfog.inputs['Density'].default_value = read_float(new_chunk) layerfog.inputs['Density'].default_value = read_float(new_chunk)
layerfog_flag = read_long(new_chunk) layerfog_flag = read_long(new_chunk)
if layerfog_flag == 0: if layerfog_flag == 0: