Skip to content
Snippets Groups Projects
Commit 9638ec56 authored by Julien Duroure's avatar Julien Duroure
Browse files

glTF exporter: add comment

parent d9d24cef
No related branches found
No related tags found
No related merge requests found
...@@ -173,6 +173,13 @@ def __gather_skins(blender_primitive, export_settings): ...@@ -173,6 +173,13 @@ def __gather_skins(blender_primitive, export_settings):
max_bone_set_index += 1 max_bone_set_index += 1
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 no skinning
if max_bone_set_index < 0: if max_bone_set_index < 0:
return attributes return attributes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment