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
|
||||||
|
#ifdef LAYOUT_DEBUG
|
||||||
thread->setPaperIndex(d->paperIndex);
|
thread->setPaperIndex(d->paperIndex);
|
||||||
thread->setFrame(d->frame);
|
thread->setFrame(d->frame);
|
||||||
thread->setDetailsCount(d->details.count());
|
thread->setDetailsCount(d->details.count());
|
||||||
thread->setDetails(d->details);
|
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