[qet] [3408] Restore extend Terminal interval

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3408
Author:   scorpio810
Date:     2014-10-27 22:08:25 +0100 (Mon, 27 Oct 2014)
Log Message:
-----------
Restore extend Terminal interval

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/conductor.cpp

Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp	2014-10-27 19:37:04 UTC (rev 3407)
+++ trunk/sources/qetgraphicsitem/conductor.cpp	2014-10-27 21:08:25 UTC (rev 3408)
@@ -306,8 +306,8 @@
 	sp2 = mapFromScene(p2);
 	
 	// prolonge les bornes
-	newp1 = extendTerminal(sp1, o1, 0.0);
-	newp2 = extendTerminal(sp2, o2, 0.0);
+	newp1 = extendTerminal(sp1, o1);
+	newp2 = extendTerminal(sp2, o2);
 	
 	// distingue le depart de l'arrivee : le trajet se fait toujours de gauche a droite (apres prolongation)
 	if (newp1.x() <= newp2.x()) {


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/