This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
Archivist
/
raylib-src
огледало од
https://github.com/raysan5/raylib
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
24
Вики
Activity
Преглед изворни кода
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 недеља
committed by
GitHub
родитељ
3678c2d157
комит
c78ac65786
No known key found for this signature in database
GPG Key ID:
B5690EEEBB952194
1 измењених фајлова
са
2 додато
и
2 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
src/rmodels.c
+ 2
- 2
src/rmodels.c
Прегледај датотеку
@ -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
)
;
Write
Preview
Loading…
Откажи
Сачувај