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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user