Jett
1 anno fa
committed by
GitHub
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: B5690EEEBB952194
1 ha cambiato i file con
2 aggiunte e
0 eliminazioni
-
src/rmodels.c
|
|
|
@ -2286,6 +2286,8 @@ void UpdateModelAnimationBones(Model model, ModelAnimation anim, int frame) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if ((mesh.boneWeights==NULL) || (mesh.boneIds==NULL)) continue; // skip if missing bone data, causes segfault without on some models |
|
|
|
|
|
|
|
// Update all bones and boneMatrices of first mesh with bones. |
|
|
|
for (int boneId = 0; boneId < anim.boneCount; boneId++) |
|
|
|
{ |
|
|
|
|