Преглед изворни кода

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…
Откажи
Сачувај