Refactoring.
This commit is contained in:
parent
35c99ddf3c
commit
34ed181558
|
@ -2233,8 +2233,11 @@ void VPMainWindow::RotatePiecesToGrainline()
|
|||
QList<VPSheetPtr> const sheets = m_layout->GetAllSheets();
|
||||
for (const auto &sheet : sheets)
|
||||
{
|
||||
if (not sheet.isNull())
|
||||
if (sheet.isNull())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
QList<VPPiecePtr> const pieces = sheet->GetPieces();
|
||||
for (const auto &piece : pieces)
|
||||
{
|
||||
|
@ -2253,7 +2256,6 @@ void VPMainWindow::RotatePiecesToGrainline()
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user