diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/graphics/engine/modelfile.cpp | 12 | ||||
-rw-r--r-- | src/tools/convert_model.cpp | 1 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/graphics/engine/modelfile.cpp b/src/graphics/engine/modelfile.cpp index 20a0932..c087250 100644 --- a/src/graphics/engine/modelfile.cpp +++ b/src/graphics/engine/modelfile.cpp @@ -114,37 +114,25 @@ Gfx::VertexTex2 ReadTextVertexTex2(const std::string& text) stream >> what; if (what != "c") - { - GetLogger()->Error("c\n"); return Gfx::VertexTex2(); - } stream >> result.coord.x >> result.coord.y >> result.coord.z; stream >> what; if (what != "n") - { - GetLogger()->Error("n\n"); return Gfx::VertexTex2(); - } stream >> result.normal.x >> result.normal.y >> result.normal.z; stream >> what; if (what != "t1") - { - GetLogger()->Error("t1\n"); return Gfx::VertexTex2(); - } stream >> result.texCoord.x >> result.texCoord.y; stream >> what; if (what != "t2") - { - GetLogger()->Error("t2\n"); return Gfx::VertexTex2(); - } stream >> result.texCoord2.x >> result.texCoord2.y; diff --git a/src/tools/convert_model.cpp b/src/tools/convert_model.cpp index 472f1c6..a2f2b7a 100644 --- a/src/tools/convert_model.cpp +++ b/src/tools/convert_model.cpp @@ -154,6 +154,7 @@ void PrintStats(const std::map<T, int>& stats, int total) int main(int argc, char *argv[])
{
CLogger logger;
+ logger.SetLogLevel(LOG_ERROR);
if (!ParseArgs(argc, argv))
{
|