r19123 by fschmid - Fixed Bug #12302: Copy/Paste places wrongly Arcs

scribus-commit scribus-commit at lists.scribus.net
Sat May 17 16:18:26 UTC 2014


Author: fschmid
Date: Sat May 17 16:18:25 2014
New Revision: 19123

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19123
Log:
Fixed Bug #12302: Copy/Paste places wrongly Arcs

Modified:
    trunk/Scribus/scribus/canvasgesture_resize.cpp
    trunk/Scribus/scribus/pageitem_arc.cpp
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/canvasgesture_resize.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19123&path=/trunk/Scribus/scribus/canvasgesture_resize.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_resize.cpp (original)
+++ trunk/Scribus/scribus/canvasgesture_resize.cpp Sat May 17 16:18:25 2014
@@ -435,7 +435,6 @@
 			item->arcWidth  += dw * dscw;
 			item->arcHeight += dh * dsch;
 			item->recalcPath();
-			m_doc->AdjustItemSize(item);
 		}
 		if (currItem->isSpiral())
 		{

Modified: trunk/Scribus/scribus/pageitem_arc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19123&path=/trunk/Scribus/scribus/pageitem_arc.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_arc.cpp (original)
+++ trunk/Scribus/scribus/pageitem_arc.cpp Sat May 17 16:18:25 2014
@@ -72,8 +72,6 @@
 	path.arcTo(0.0, 0.0, arcWidth, arcHeight, arcStartAngle, arcSweepAngle);
 	path.closeSubpath();
 	PoLine.fromQPainterPath(path);
-	FPoint tp(getMinClipF(&PoLine));
-	PoLine.translate(-tp.x(), -tp.y());
 	Clip = FlattenPath(PoLine, Segments);
 }
 

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19123&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Sat May 17 16:18:25 2014
@@ -14688,6 +14688,8 @@
 
 void ScribusDoc::AdjustItemSize(PageItem *currItem, bool includeGroup, bool moveInGroup)
 {
+	if (currItem->isArc())
+		return;
 	undoManager->setUndoEnabled(false);
 	bool siz = currItem->Sizing;
 	currItem->Sizing = false;




More information about the scribus-commit mailing list