使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
Archivist
/
raylib-src
镜像自地址
https://github.com/raysan5/raylib
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
24
百科
动态
浏览代码
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
找不到此签名对应的密钥
GPG 密钥 ID:
B5690EEEBB952194
共有
1 个文件被更改
,包括
2 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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
)
;
撰写
预览
正在加载...
取消
保存