cleanup
parent
62c9347985
commit
480d6fee2a
|
@ -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
|
// handle cstype section end (http://paulbourke.net/dataformats/obj/)
|
||||||
// cstype bspline
|
|
||||||
// deg 1
|
|
||||||
// curv 0 4.4342367553943109 468085 ...
|
|
||||||
// parm u 0 0 0.39203731404307385 ...
|
|
||||||
// end
|
|
||||||
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);
|
||||||
|
|
Loading…
Reference in New Issue