From a2a6248a999bb3acbd1feec0b7f9549cb3ed2cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 26 Mar 2009 17:58:42 +0000 Subject: [PATCH] Some indentations git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@90 fdac6126-5c0c-442c-9429-916003d36597 --- Core/IO/importer/ImporterT.hh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Core/IO/importer/ImporterT.hh b/Core/IO/importer/ImporterT.hh index 092df671..d813d786 100644 --- a/Core/IO/importer/ImporterT.hh +++ b/Core/IO/importer/ImporterT.hh @@ -90,30 +90,30 @@ public: // test for valid vertex indices for (it=_indices.begin(); it!=end; ++it) - if (! mesh_.is_valid_handle(*it)) - { - omerr() << "ImporterT: Face contains invalid vertex index\n"; - return fh; - } + if (! mesh_.is_valid_handle(*it)) + { + omerr() << "ImporterT: Face contains invalid vertex index\n"; + return fh; + } // don't allow double vertices for (it=_indices.begin(); it!=end; ++it) - for (it2=it+1; it2!=end; ++it2) - if (*it == *it2) - { - omerr() << "ImporterT: Face has equal vertices\n"; - failed_faces_.push_back(_indices); - return fh; - } + for (it2=it+1; it2!=end; ++it2) + if (*it == *it2) + { + omerr() << "ImporterT: Face has equal vertices\n"; + failed_faces_.push_back(_indices); + return fh; + } // try to add face fh = mesh_.add_face(_indices); if (!fh.is_valid()) { - failed_faces_.push_back(_indices); - return fh; + failed_faces_.push_back(_indices); + return fh; } } @@ -163,7 +163,7 @@ public: virtual void set_texcoord(VertexHandle _vh, const Vec2f& _texcoord) { if (mesh_.has_vertex_texcoords2D()) - mesh_.set_texcoord2D(_vh, vector_cast(_texcoord)); + mesh_.set_texcoord2D(_vh, vector_cast(_texcoord)); } virtual void set_texcoord(HalfedgeHandle _heh, const Vec2f& _texcoord)