Don't set information for debug if no need.
--HG-- branch : feature
This commit is contained in:
parent
2aa9de5f94
commit
7a9447f7af
|
@ -166,10 +166,12 @@ bool VLayoutPaper::AddToSheet(const VLayoutDetail &detail, bool &stop)
|
||||||
{
|
{
|
||||||
VPosition *thread = new VPosition(d->globalContour, j, detail, i);
|
VPosition *thread = new VPosition(d->globalContour, j, detail, i);
|
||||||
//Info for debug
|
//Info for debug
|
||||||
thread->setPaperIndex(d->paperIndex);
|
#ifdef LAYOUT_DEBUG
|
||||||
thread->setFrame(d->frame);
|
thread->setPaperIndex(d->paperIndex);
|
||||||
thread->setDetailsCount(d->details.count());
|
thread->setFrame(d->frame);
|
||||||
thread->setDetails(d->details);
|
thread->setDetailsCount(d->details.count());
|
||||||
|
thread->setDetails(d->details);
|
||||||
|
#endif
|
||||||
|
|
||||||
thread->setAutoDelete(false);
|
thread->setAutoDelete(false);
|
||||||
threads.append(thread);
|
threads.append(thread);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user