r14960 by fschmid - Fixed the bug that pasted object get misplaced when the target page has an Y-Position larger than 99999 pts

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 11 00:10:19 CEST 2010


Revision: 14960
Author: fschmid
Date: 2010-04-10T22:07:59.536523Z
Commit message: Fixed the bug that pasted object get misplaced when the target page has an Y-Position larger than 99999 pts

Changeset: 
M  /branches/Version135/Scribus/scribus/selection.cpp

Diffs:
Index: scribus/selection.cpp
===================================================================
--- scribus/selection.cpp	(revision 14959)
+++ scribus/selection.cpp	(revision 14960)
@@ -392,15 +392,15 @@
 void Selection::setGroupRect()
 {
 	PageItem *currItem;
-	double minx = 99999.9;
-	double miny = 99999.9;
-	double maxx = -99999.9;
-	double maxy = -99999.9;
+	double minx = 9999999.9;
+	double miny = 9999999.9;
+	double maxx = -9999999.9;
+	double maxy = -9999999.9;
 	
-	double vminx = 99999.9;
-	double vminy = 99999.9;
-	double vmaxx = -99999.9;
-	double vmaxy = -99999.9;
+	double vminx = 9999999.9;
+	double vminy = 9999999.9;
+	double vmaxx = -9999999.9;
+	double vmaxy = -9999999.9;
 	uint selectedItemCount=count();
 	for (uint gc = 0; gc < selectedItemCount; ++gc)
 	{




More information about the scribus-commit mailing list