r17451 by jghali - #10677 related : fix incorrect snapping of line end points caused by error introduced by rounding

scribus-commit scribus-commit at lists.scribus.net
Mon Apr 16 22:30:41 UTC 2012


Author: jghali
Date: Mon Apr 16 22:30:41 2012
New Revision: 17451

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17451
Log:
#10677 related : fix incorrect snapping of line end points caused by error introduced by rounding

Modified:
    trunk/Scribus/scribus/canvasgesture_linemove.cpp

Modified: trunk/Scribus/scribus/canvasgesture_linemove.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17451&path=/trunk/Scribus/scribus/canvasgesture_linemove.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_linemove.cpp (original)
+++ trunk/Scribus/scribus/canvasgesture_linemove.cpp Mon Apr 16 22:30:41 2012
@@ -218,8 +218,8 @@
 	double nx = np2.x();
 	double ny = np2.y();
 	m_doc->ApplyGuides(&nx, &ny);
-	newX = qRound(nx);
-	newY = qRound(ny);
+	newX = nx;
+	newY = ny;
 	//>>#8099
 
 	m_bounds.setBottomRight(QPointF(newX, newY));




More information about the scribus-commit mailing list