Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
Archivist
/
raylib-src
mirror da
https://github.com/raysan5/raylib
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
24
Wiki
Attività
Sfoglia il codice sorgente
Don't require a M3d animation only file to have a mesh. There are valid use cases for animation only files that can be applied to N other meshes. (
#5475
)
pull/5481/head
Jeffery Myers
3 settimane fa
committed by
GitHub
parent
3678c2d157
commit
c78ac65786
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG:
B5690EEEBB952194
1 ha cambiato i file
con
2 aggiunte
e
2 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+2
-2
src/rmodels.c
+ 2
- 2
src/rmodels.c
Vedi File
@ -7045,8 +7045,8 @@ static ModelAnimation *LoadModelAnimationsM3D(const char *fileName, int *animCou
else
TRACELOG
(
LOG_INFO
,
"
MODEL: [%s] M3D data loaded successfully: %i animations, %i bones, %i skins
"
,
fileName
,
m3d
-
>
numaction
,
m3d
-
>
numbone
,
m3d
-
>
numskin
)
;
/
/
No
animation
or
bone
+
skin
?
if
(
!
m3d
-
>
numaction
|
|
!
m3d
-
>
numbone
|
|
!
m3d
-
>
numskin
)
/
/
No
animation
or
bone
s
,
exit
out
.
skins
are
not
required
because
some
people
use
one
animation
for
N
models
if
(
!
m3d
-
>
numaction
|
|
!
m3d
-
>
numbone
)
{
m3d_free
(
m3d
)
;
UnloadFileData
(
fileData
)
;
Scrivi
Anteprima
Caricamento…
Annulla
Salva