mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-19 17:58:15 +00:00
Don't Upload Meshes in LoadObj, LoadModel will upload them. None of the other interchange format readers upload
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user