Improve gathering strips.

We must not ignore one strip of layout result to provide correct size.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-08-21 19:11:36 +03:00
parent 07be09c577
commit 009ac4a0a6

View File

@ -427,11 +427,6 @@ bool VLayoutGenerator::IsPortrait() const
//---------------------------------------------------------------------------------------------------------------------
void VLayoutGenerator::GatherPages()
{
if (papers.size() < 2)
{
return;
}
QList<QList<VLayoutPiece>> nDetails;
qreal length = 0;
int j = 0; // papers count