Explorar el Código

Avoid fatal errors on OBJ model loading

pull/5066/head
Ray hace 6 meses
padre
commit
8343aed4f6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/rmodels.c

+ 2
- 2
src/rmodels.c Ver fichero

@ -4292,7 +4292,7 @@ static Model LoadOBJ(const char *fileName)
if (fileText == NULL)
{
TRACELOG(LOG_ERROR, "MODEL: [%s] Unable to read obj file", fileName);
TRACELOG(LOG_WARNING, "MODEL: [%s] Unable to read obj file", fileName);
return model;
}
@ -4308,7 +4308,7 @@ static Model LoadOBJ(const char *fileName)
if (ret != TINYOBJ_SUCCESS)
{
TRACELOG(LOG_ERROR, "MODEL: Unable to read obj data %s", fileName);
TRACELOG(LOG_WARNING, "MODEL: Unable to read obj data %s", fileName);
return model;
}

Cargando…
Cancelar
Guardar