Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 1262147431398f874aefe4c4d81fd6d3 > files > 1

pencil-planner-0.4.4b-7.mga5.src.rpm

Index: pencil-planner/src/graphics/vector/beziercurve.cpp
===================================================================
--- pencil-planner/src/graphics/vector/beziercurve.cpp
+++ pencil-planner/src/graphics/vector/beziercurve.cpp	2013-01-23 00:45:21.206537695 -0500
@@ -700,9 +700,8 @@
 	R1.setTopLeft(P1); R1.setBottomRight(Q1);
 	R2.setTopLeft(P2); R2.setBottomRight(Q2);
 	
-	//QPointF intersectionPoint = QPointF(50.0, 50.0); // bogus point
-	//QPointF* intersection = &intersectionPoint;
-	QPointF* cubicIntersection = &QPointF(50.0, 50.0); // bogus point
+	QPointF intersectionPoint = QPointF(50.0, 50.0); // bogus point
+	QPointF* cubicIntersection = &intersectionPoint;
 	if( R1.intersects(R2) || L2.intersect(L1, cubicIntersection) == QLineF::BoundedIntersection ) {
 	//if(L2.intersect(L1, intersection) == QLineF::BoundedIntersection) {
 		//qDebug() << "                   FOUND rectangle intersection ";