Browse Source

Merge pull request #5083 from JeffM2501/obj_double_load

[rModels] Don't Double Upload Meshes in LoadObj,
pull/4810/merge
Ray 2 months ago
committed by GitHub
parent
commit
361e730f83
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      src/rmodels.c

+ 0
- 2
src/rmodels.c View File

@ -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…
Cancel
Save