瀏覽代碼

Don't Upload Meshes in LoadObj, LoadModel will upload them. None of the other interchange format readers upload

pull/5083/head
Jeff Myers 2 月之前
父節點
當前提交
ffe76a4b67
共有 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)
{

Loading…
取消
儲存