Import_3ds: Avoid any None in object lists #104785
@ -1036,7 +1036,7 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
|
|||||||
elif new_chunk.ID == OBJECT_NODE_HDR:
|
elif new_chunk.ID == OBJECT_NODE_HDR:
|
||||||
object_name, read_str_len = read_string(file)
|
object_name, read_str_len = read_string(file)
|
||||||
new_chunk.bytes_read += read_str_len
|
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
|
new_chunk.bytes_read += SZ_U_INT
|
||||||
hierarchy = read_short(new_chunk)
|
hierarchy = read_short(new_chunk)
|
||||||
child = object_dictionary.get(object_name)
|
child = object_dictionary.get(object_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user