mirror of
https://github.com/leozide/leocad
synced 2025-01-14 08:01:45 +01:00
Ignore part settings from the previous step. Fixes #602.
This commit is contained in:
parent
55384a3c35
commit
48347ea371
1 changed files with 2 additions and 0 deletions
|
@ -531,6 +531,8 @@ void lcModel::LoadLDraw(QIODevice& Device, Project* Project)
|
|||
|
||||
if (Token == QLatin1String("STEP"))
|
||||
{
|
||||
delete Piece;
|
||||
Piece = nullptr;
|
||||
CurrentStep++;
|
||||
mFileLines.append(OriginalLine);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue