--- pencilanimation_0.4.5b-rev5_src/src/graphics/vector/beziercurve.cpp~ 2013-01-02 19:43:56.644357484 +0000 +++ pencilanimation_0.4.5b-rev5_src/src/graphics/vector/beziercurve.cpp 2013-01-02 19:43:56.657357635 +0000 @@ -700,9 +700,9 @@ 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 ";