Merge pull request #669 from j6t/fix-default-control-points

Fix incorrect control points of second and later synthesized pieces.
This commit is contained in:
Leonardo Zide
2021-03-17 21:46:14 -07:00
committed by GitHub
+1
View File
@@ -659,6 +659,7 @@ void lcModel::LoadLDraw(QIODevice& Device, Project* Project)
Piece->SetColorCode(ColorCode);
Piece->VerifyControlPoints(ControlPoints);
Piece->SetControlPoints(ControlPoints);
ControlPoints.RemoveAll();
if (Piece->mPieceInfo->IsModel() && Piece->mPieceInfo->GetModel()->IncludesModel(this))
{