pull/4403/head
Jaroslav Přibyl 2022-02-22 01:46:47 +01:00
parent 62c9347985
commit 480d6fee2a
1 changed files with 2 additions and 7 deletions

View File

@ -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);