本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
Archivist
/
raylib-src
镜像来自
https://github.com/raysan5/raylib
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
24
Wiki
活動
瀏覽代碼
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 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…
取消
儲存