r16410 by fschmid - Fixed Bug #9801: "wrong outline while moving resized groups"

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 6 16:34:28 CET 2011


Author: fschmid
Date: Sun Mar  6 15:34:28 2011
New Revision: 16410

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16410
Log:
Fixed Bug #9801: "wrong outline while moving resized groups"

Modified:
    trunk/Scribus/scribus/canvas.cpp
    trunk/Scribus/scribus/canvasmode.cpp

Modified: trunk/Scribus/scribus/canvas.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16410&path=/trunk/Scribus/scribus/canvas.cpp
==============================================================================
--- trunk/Scribus/scribus/canvas.cpp (original)
+++ trunk/Scribus/scribus/canvas.cpp Sun Mar  6 15:34:28 2011
@@ -1124,6 +1124,7 @@
 				if (currItem->isGroup())
 				{
 					PageItem_Group* gItem = currItem->asGroupFrame();
+					pp->scale(gItem->width() / gItem->groupWidth, gItem->height() / gItem->groupHeight);
 					uint itemCountG = gItem->groupItemList.count();
 					if (itemCountG < moveWithFullOutlinesThreshold)
 					{

Modified: trunk/Scribus/scribus/canvasmode.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16410&path=/trunk/Scribus/scribus/canvasmode.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode.cpp (original)
+++ trunk/Scribus/scribus/canvasmode.cpp Sun Mar  6 15:34:28 2011
@@ -443,6 +443,7 @@
 					}
 					p->scale(scalex, scaley);
 					PageItem_Group* gItem = currItem->asGroupFrame();
+					p->scale(gItem->width() / gItem->groupWidth, gItem->height() / gItem->groupHeight);
 					uint itemCountG = gItem->groupItemList.count();
 					if (itemCountG < m_canvas->moveWithFullOutlinesThreshold)
 					{




More information about the scribus-commit mailing list