r21249 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Wed Apr 27 18:59:26 UTC 2016


Author: fschmid
Date: Wed Apr 27 18:59:26 2016
New Revision: 21249

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21249
Log:
Fixed Bug #13677: 'Move Vector' artifacts

Modified:
    trunk/Scribus/scribus/canvasmode_editgradient.cpp

Modified: trunk/Scribus/scribus/canvasmode_editgradient.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21249&path=/trunk/Scribus/scribus/canvasmode_editgradient.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_editgradient.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_editgradient.cpp	Wed Apr 27 18:59:26 2016
@@ -641,7 +641,7 @@
 //		m_view->RefreshGradient(currItem, dx * m_canvas->scale(), dy * m_canvas->scale());
 		m_ScMW->propertiesPalette->updateColorSpecialGradient();
 		currItem->update();
-		QRectF upRect;
+/*		QRectF upRect;
 		if (m_view->editStrokeGradient == 1)
 		{
 			upRect = QRectF(QPointF(currItem->GrStrokeStartX, currItem->GrStrokeStartY), QPointF(currItem->GrStrokeEndX, currItem->GrStrokeEndY));
@@ -699,9 +699,10 @@
 		}
 		QTransform itemMatrix = currItem->getTransform();
 		upRect = itemMatrix.mapRect(upRect);
+		m_doc->regionsChanged()->update(upRect.adjusted(-10.0, -10.0, 10.0, 10.0)); */
 		if (currItem->GrType == 13)
 			currItem->createConicalMesh();
-		m_doc->regionsChanged()->update(upRect.adjusted(-10.0, -10.0, 10.0, 10.0));
+		m_doc->regionsChanged()->update(QRectF());
 	}
 }
 




More information about the scribus-commit mailing list