r17450 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:28:47 UTC 2012


Author: jghali
Date: Mon Apr 16 22:28:47 2012
New Revision: 17450

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

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

Modified: branches/Version14x/Scribus/scribus/canvasgesture_linemove.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17450&path=/branches/Version14x/Scribus/scribus/canvasgesture_linemove.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/canvasgesture_linemove.cpp (original)
+++ branches/Version14x/Scribus/scribus/canvasgesture_linemove.cpp Mon Apr 16 22:28:47 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