r20687 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 16 19:54:03 UTC 2016


Author: fschmid
Date: Sat Jan 16 19:54:03 2016
New Revision: 20687

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20687
Log:
Fixed Bug #13660: Bezier Curve artifacts

Modified:
    trunk/Scribus/scribus/scribusview.cpp

Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20687&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp	(original)
+++ trunk/Scribus/scribus/scribusview.cpp	Sat Jan 16 19:54:03 2016
@@ -1402,6 +1402,7 @@
 void ScribusView::TransformPoly(int mode, int rot, double scaling)
 {
 	PageItem *currItem = Doc->m_Selection->itemAt(0);
+	QRectF oldR = currItem->getBoundingRect().adjusted(-5, -5, 10, 10);
 	currItem->ClipEdited = true;
 	QTransform ma;
 	undoManager->setUndoEnabled(false);
@@ -1587,6 +1588,8 @@
 	if (currItem->asPathText())
 		currItem->updatePolyClip();
 	Doc->setRedrawBounding(currItem);
+	QRectF newR(currItem->getBoundingRect());
+	Doc->regionsChanged()->update(newR.united(oldR));
 	currItem->update();
 //	MarkClip(currItem, currItem->PoLine, true);
 	currItem->FrameType = 3;




More information about the scribus-commit mailing list