ソースを参照

Avoid fatal errors on OBJ model loading

pull/5066/head
Ray 2ヶ月前
コミット
8343aed4f6
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      src/rmodels.c

+ 2
- 2
src/rmodels.c ファイルの表示

@ -4292,7 +4292,7 @@ static Model LoadOBJ(const char *fileName)
if (fileText == NULL)
{
TRACELOG(LOG_ERROR, "MODEL: [%s] Unable to read obj file", fileName);
TRACELOG(LOG_WARNING, "MODEL: [%s] Unable to read obj file", fileName);
return model;
}
@ -4308,7 +4308,7 @@ static Model LoadOBJ(const char *fileName)
if (ret != TINYOBJ_SUCCESS)
{
TRACELOG(LOG_ERROR, "MODEL: Unable to read obj data %s", fileName);
TRACELOG(LOG_WARNING, "MODEL: Unable to read obj data %s", fileName);
return model;
}

読み込み中…
キャンセル
保存