r19893 by craig - #12459: Fix flipping horizontal/vertical not moving the items back if multiple are selected

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 2 18:54:03 UTC 2015


Author: craig
Date: Mon Mar  2 18:54:03 2015
New Revision: 19893

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19893
Log:
#12459: Fix flipping horizontal/vertical not moving the items back if multiple are selected

Modified:
    branches/Version14x/Scribus/scribus/scribusdoc.cpp

Modified: branches/Version14x/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19893&path=/branches/Version14x/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribusdoc.cpp (original)
+++ branches/Version14x/Scribus/scribus/scribusdoc.cpp Mon Mar  2 18:54:03 2015
@@ -7463,14 +7463,14 @@
 					currItem->rotateBy(currItem->rotation() * -2.0);
 					currItem->setRedrawBounding();
 					currItem->getBoundingRect(&ix2, &iy2, &iw2, &ih2);
-					currItem->moveBy(ix-ix2, iy-iy2, true);
+					currItem->moveBy(ix-ix2, iy-iy2, false);
 					currItem->setRedrawBounding();
 				}
 				if ((currItem->itemType() == PageItem::ImageFrame) || (currItem->itemType() == PageItem::TextFrame))
 					currItem->flipImageH();
 				if (currItem->itemType() != PageItem::Line)
 					MirrorPolyH(currItem);
-				currItem->moveBy(dx, 0, true);
+				currItem->moveBy(dx, 0, false);
 				currItem->setRedrawBounding();
 				currItem->GrStartX = currItem->width() - currItem->GrStartX;
 				currItem->GrEndX = currItem->width() - currItem->GrEndX;
@@ -7493,7 +7493,7 @@
 					currItem->rotateBy(currItem->rotation() * -2.0);
 					currItem->setRedrawBounding();
 					currItem->getBoundingRect(&ix2, &iy2, &iw2, &ih2);
-					currItem->moveBy(ix-ix2, iy-iy2, true);
+					currItem->moveBy(ix-ix2, iy-iy2, false);
 					currItem->setRedrawBounding();
 				}
 				currItem->GrStartX = currItem->width() - currItem->GrStartX;
@@ -7528,14 +7528,14 @@
 					currItem->rotateBy(currItem->rotation() * -2.0);
 					currItem->setRedrawBounding();
 					currItem->getBoundingRect(&ix2, &iy2, &iw2, &ih2);
-					currItem->moveBy(ix-ix2, iy-iy2, true);
+					currItem->moveBy(ix-ix2, iy-iy2, false);
 					currItem->setRedrawBounding();
 				}
 				if ((currItem->itemType() == PageItem::ImageFrame) || (currItem->itemType() == PageItem::TextFrame))
 					currItem->flipImageV();
 				if (currItem->itemType() != PageItem::Line)
 					MirrorPolyV(currItem);
-				currItem->moveBy(0, dx, true);
+				currItem->moveBy(0, dx, false);
 				currItem->setRedrawBounding();
 				currItem->GrStartY = currItem->height() - currItem->GrStartY;
 				currItem->GrEndY = currItem->height() - currItem->GrEndY;
@@ -7559,7 +7559,7 @@
 					currItem->rotateBy(currItem->rotation() * -2.0);
 					currItem->setRedrawBounding();
 					currItem->getBoundingRect(&ix2, &iy2, &iw2, &ih2);
-					currItem->moveBy(ix-ix2, iy-iy2, true);
+					currItem->moveBy(ix-ix2, iy-iy2, false);
 					currItem->setRedrawBounding();
 				}
 				currItem->GrStartY = currItem->height() - currItem->GrStartY;




More information about the scribus-commit mailing list