glTF exporter: add comment

This commit is contained in:
Julien Duroure 2022-08-15 10:22:13 +02:00
parent d9d24cef3e
commit 9638ec5655
1 changed files with 7 additions and 0 deletions

View File

@ -173,6 +173,13 @@ def __gather_skins(blender_primitive, export_settings):
max_bone_set_index += 1
max_bone_set_index -= 1
# Here, a set represents a group of 4 weights.
# So max_bone_set_index value:
# if -1 => No weights
# if 1 => Max 4 weights
# if 2 => Max 8 weights
# etc...
# If no skinning
if max_bone_set_index < 0:
return attributes