浏览代码

Merge pull request #5083 from JeffM2501/obj_double_load

[rModels] Don't Double Upload Meshes in LoadObj,
pull/4810/merge
Ray 2 个月前
committed by GitHub
父节点
当前提交
361e730f83
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. +0
    -2
      src/rmodels.c

+ 0
- 2
src/rmodels.c 查看文件

@ -4501,8 +4501,6 @@ static Model LoadOBJ(const char *fileName)
tinyobj_shapes_free(objShapes, objShapeCount);
tinyobj_materials_free(objMaterials, objMaterialCount);
for (int i = 0; i < model.meshCount; i++) UploadMesh(model.meshes + i, true);
// Restore current working directory
if (CHDIR(currentDir) != 0)
{

正在加载...
取消
保存