|
@@ -132,12 +132,7 @@ void ObjFileParser::parseFile(IOStreamBuffer<char> &streamBuffer) {
|
|
m_progress->UpdateFileRead(processed, progressTotal);
|
|
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) {
|
|
if (insideCstype) {
|
|
switch (*m_DataIt) {
|
|
switch (*m_DataIt) {
|
|
case 'e': {
|
|
case 'e': {
|
|
@@ -237,7 +232,7 @@ void ObjFileParser::parseFile(IOStreamBuffer<char> &streamBuffer) {
|
|
getObjectName();
|
|
getObjectName();
|
|
} break;
|
|
} break;
|
|
|
|
|
|
- case 'c':
|
|
|
|
|
|
+ case 'c': // handle cstype section start
|
|
{
|
|
{
|
|
std::string name;
|
|
std::string name;
|
|
getNameNoSpace(m_DataIt, m_DataItEnd, name);
|
|
getNameNoSpace(m_DataIt, m_DataItEnd, name);
|