|
|
@ -4864,7 +4864,7 @@ static BoneInfo *LoadBoneInfoGLTF(cgltf_skin skin, int *boneCount) |
|
|
|
for (unsigned int i = 0; i < skin.joints_count; i++) |
|
|
|
{ |
|
|
|
cgltf_node node = *skin.joints[i]; |
|
|
|
strncpy(bones[i].name, node.name, sizeof(bones[i].name)); |
|
|
|
k">if (node.name != NULL) strncpy(bones[i].name, node.name, sizeof(bones[i].name)); |
|
|
|
|
|
|
|
// Find parent bone index |
|
|
|
unsigned int parentIndex = -1; |
|
|
|