Refactoring.

This commit is contained in:
Roman Telezhynskyi 2024-04-05 18:17:14 +03:00
parent 35c99ddf3c
commit 34ed181558

View file

@ -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()
}
}
}
}
}
//---------------------------------------------------------------------------------------------------------------------