--- a/src/parser.cpp Sun Jul 03 22:24:12 2022 +0300 +++ b/src/parser.cpp Sun Jul 03 22:32:50 2022 +0300 @@ -53,7 +53,7 @@ { // Some LDraw parts such as 53588.dat can contain "BFC INVERTNEXT" with multiple inner whitespaces. // So we need to pass the string through QString::simplified to catch these cases. - const QString line = this->readLine().simplified(); + const QString line = this->readLine().trimmed(); if (line == "0 BFC INVERTNEXT" or line == "0 BFC CERTIFY INVERTNEXT") { invertNext = true; @@ -200,7 +200,6 @@ ModelElement parseLDrawLine(QString line) { - line = line.trimmed(); try { const QStringList tokens = line.simplified().split(" ");