diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-08-31 21:51:28 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-08-31 21:51:28 +0200 |
commit | 01fd19d2cd471e69cca8baff6d662e219e42c864 (patch) | |
tree | 772519bb98f074eb753851c2a40454ec3117134e /src/graphics/engine/modelfile.cpp | |
parent | e94e26ae1eb0dd8a3838e66db3abe4006d377ab2 (diff) | |
download | colobot-01fd19d2cd471e69cca8baff6d662e219e42c864.tar.gz colobot-01fd19d2cd471e69cca8baff6d662e219e42c864.tar.bz2 colobot-01fd19d2cd471e69cca8baff6d662e219e42c864.zip |
Fix
Diffstat (limited to 'src/graphics/engine/modelfile.cpp')
-rw-r--r-- | src/graphics/engine/modelfile.cpp | 12 |
1 files changed, 0 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; |