From 433efd08c7bf746a9535d0325444d8314774cc11 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 26 Apr 2016 15:39:50 +0300 Subject: [PATCH] Little optimization for the layout generator. --HG-- branch : develop --- src/libs/vlayout/vlayoutpaper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vlayout/vlayoutpaper.cpp b/src/libs/vlayout/vlayoutpaper.cpp index 593b06fc0..16aab53ba 100644 --- a/src/libs/vlayout/vlayoutpaper.cpp +++ b/src/libs/vlayout/vlayoutpaper.cpp @@ -200,7 +200,7 @@ bool VLayoutPaper::AddToSheet(const VLayoutDetail &detail, volatile bool &stop) for (int j=1; j <= d->globalContour.GlobalEdgesCount(); ++j) { - for (int i=1; i<= detail.EdgesCount(); i++) + for (int i=1; i<= detail.EdgesCount(); ++i) { VPosition *thread = new VPosition(d->globalContour, j, detail, i, &stop, d->rotate, d->rotationIncrease, d->saveLength);