Ignore part settings from the previous step. Fixes #602.

This commit is contained in:
Leonardo 2021-02-03 14:49:07 -08:00
parent 55384a3c35
commit 48347ea371

View file

@ -531,6 +531,8 @@ void lcModel::LoadLDraw(QIODevice& Device, Project* Project)
if (Token == QLatin1String("STEP")) if (Token == QLatin1String("STEP"))
{ {
delete Piece;
Piece = nullptr;
CurrentStep++; CurrentStep++;
mFileLines.append(OriginalLine); mFileLines.append(OriginalLine);
continue; continue;