Merge pull request #5083 from JeffM2501/obj_double_load

[rModels] Don't Double Upload Meshes in LoadObj,
This commit is contained in:
Ray
2025-08-03 00:29:20 +02:00
committed by GitHub

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)
{