Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 16338 → Rev 16337

/trunk/Scribus/scribus/scribusdoc.cpp
12248,7 → 12248,6
uint StartInd = 0;
m_Selection->delaySignalsOn();
PageItem *currItem = m_Selection->itemAt(0);
int currItemNr = currItem->ItemNr;
uint EndInd = currItem->PoLine.size();
for (uint a = EndInd-1; a > 0; --a)
{
12256,9 → 12255,8
{
StartInd = a + 1;
bb = new PageItem_Polygon(*currItem);
currItemNr++;
Items->insert(currItemNr, bb);
bb->ItemNr = currItemNr;
Items->append(bb);
bb->ItemNr = Items->count()-1;
bb->convertTo(PageItem::Polygon);
bb->Frame = false;
bb->FrameType = 3;
12268,7 → 12266,6
AdjustItemSize(bb);
bb->ContourLine = bb->PoLine.copy();
bb->ClipEdited = true;
m_Selection->addItem(bb, false);
a -= 3;
EndInd = StartInd - 4;
}
12278,7 → 12275,6
currItem->ContourLine = currItem->PoLine.copy();
currItem->ClipEdited = true;
m_Selection->delaySignalsOff();
renumberItemsInListOrder();
//FIXME: stop using m_View
m_View->Deselect(true);
regionsChanged()->update(QRectF());
/trunk/Scribus/scribus/plugins/tools/pathstroker/pathstroker.cpp
207,7 → 207,7
newItem->OldH2 = newItem->height();
newItem->updateClip();
newItem->ContourLine = newItem->PoLine.copy();
newItem->setFillEvenOdd(false);
newItem->setFillEvenOdd(true);
currDoc->m_Selection->addItem(newItem);
}
else
262,7 → 262,7
newItem->OldH2 = newItem->height();
newItem->updateClip();
newItem->ContourLine = newItem->PoLine.copy();
newItem->setFillEvenOdd(false);
newItem->setFillEvenOdd(true);
currDoc->m_Selection->addItem(newItem);
}
}