Import_3ds: Keep None objects in list to preserve hierarchy #104789

Merged
Sebastian Sille merged 31 commits from :main into main 2023-07-28 09:13:29 +02:00
Showing only changes of commit 93ef69c2fb - Show all commits

View File

@ -1036,7 +1036,7 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
elif new_chunk.ID == OBJECT_NODE_HDR:
object_name, read_str_len = read_string(file)
new_chunk.bytes_read += read_str_len
new_data = file.read(SZ_U_INT)
temp_data = file.read(SZ_U_INT)
new_chunk.bytes_read += SZ_U_INT
hierarchy = read_short(new_chunk)
child = object_dictionary.get(object_name)