From be047e9a828f451be117191b23b67e1b5d76a0c8 Mon Sep 17 00:00:00 2001 From: granzuglia Date: Wed, 13 May 2009 17:08:40 +0000 Subject: [PATCH] fixed little bug in color index --- wrap/io_trimesh/export_idtf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrap/io_trimesh/export_idtf.h b/wrap/io_trimesh/export_idtf.h index b8e108d9..65722a0c 100644 --- a/wrap/io_trimesh/export_idtf.h +++ b/wrap/io_trimesh/export_idtf.h @@ -440,8 +440,8 @@ typedef typename SaveMeshType::CoordType CoordType; for(FaceIterator fit = m.face.begin();fit != m.face.end();++fit) { idtf.write(4,TextUtility::nmbToStr(nn) + " " + - TextUtility::nmbToStr(nn + 2) + " " + - TextUtility::nmbToStr(nn + 1)); + TextUtility::nmbToStr(nn + 1) + " " + + TextUtility::nmbToStr(nn + 2)); nn += 3; } idtf.write(3,"}");