Jaroslav Přibyl 3 years ago
parent
commit
480d6fee2a
1 changed files with 2 additions and 7 deletions
  1. 2 7
      code/AssetLib/Obj/ObjFileParser.cpp

+ 2 - 7
code/AssetLib/Obj/ObjFileParser.cpp

@@ -132,12 +132,7 @@ void ObjFileParser::parseFile(IOStreamBuffer<char> &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<char> &streamBuffer) {
             getObjectName();
         } break;
 
-        case 'c':
+        case 'c': // handle cstype section start
         {
             std::string name;
             getNameNoSpace(m_DataIt, m_DataItEnd, name);