Fix T45516: Our index generators can produce values below -1, consider all negative indices as 'skip' flags.
This commit is contained in:
parent
23108a80d7
commit
7f55da7477
Notes:
blender-bot
2023-02-14 19:54:16 +01:00
Referenced by issue #45516, FBX import of Akeytsu files fails.
|
@ -710,7 +710,7 @@ def blen_read_geom_array_setattr(generator, blen_data, blen_attr, fbx_data, stri
|
|||
|
||||
def check_skip(blen_idx, fbx_idx):
|
||||
nonlocal print_error
|
||||
if fbx_idx == -1:
|
||||
if fbx_idx < 0: # Negative values mean 'skip'.
|
||||
return True
|
||||
if blen_idx > max_idx:
|
||||
if print_error:
|
||||
|
|
Loading…
Reference in New Issue