From de865532f4bcbaa420ea8cd40f79ec4998d14436 Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Tue, 17 Jan 2012 01:50:37 +0000 Subject: [PATCH] # DXFLoader: EOLs. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1119 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/DXFLoader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/DXFLoader.cpp b/code/DXFLoader.cpp index eee0cdec8..ebdb5cc91 100644 --- a/code/DXFLoader.cpp +++ b/code/DXFLoader.cpp @@ -506,7 +506,7 @@ void DXFImporter::ParseBlock(DXF::LineReader& reader, DXF::FileData& output) Parse3DFace(++reader, output); continue; } - ++reader; + ++reader; } } @@ -683,12 +683,12 @@ void DXFImporter::ParsePolyLine(DXF::LineReader& reader, DXF::FileData& output) line.indices.push_back(i*2); line.indices.push_back(i*2+1); line.counts.push_back(2); - } + } // closed polyline? if (line.flags & DXF_POLYLINE_FLAG_CLOSED) { line.indices.push_back(line.positions.size()-1); - line.indices.push_back(0); + line.indices.push_back(0); line.counts.push_back(2); } }