From 480d6fee2a8aa8b97a0d397e0b7ce829fe910245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20P=C5=99ibyl?= Date: Tue, 22 Feb 2022 01:46:47 +0100 Subject: [PATCH] cleanup --- code/AssetLib/Obj/ObjFileParser.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/code/AssetLib/Obj/ObjFileParser.cpp b/code/AssetLib/Obj/ObjFileParser.cpp index f819f326a..1786c0d9f 100644 --- a/code/AssetLib/Obj/ObjFileParser.cpp +++ b/code/AssetLib/Obj/ObjFileParser.cpp @@ -132,12 +132,7 @@ void ObjFileParser::parseFile(IOStreamBuffer &streamBuffer) { m_progress->UpdateFileRead(processed, progressTotal); } - // handle cstype (http://paulbourke.net/dataformats/obj/) which contains parm property which is handled by the parser as fase, but is not - // cstype bspline - // deg 1 - // curv 0 4.4342367553943109 468085 ... - // parm u 0 0 0.39203731404307385 ... - // end + // handle cstype section end (http://paulbourke.net/dataformats/obj/) if (insideCstype) { switch (*m_DataIt) { case 'e': { @@ -237,7 +232,7 @@ void ObjFileParser::parseFile(IOStreamBuffer &streamBuffer) { getObjectName(); } break; - case 'c': + case 'c': // handle cstype section start { std::string name; getNameNoSpace(m_DataIt, m_DataItEnd, name);