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