properly auto-connect sidechain pins
[ardour.git] / libs / canvas / curve.cc
index ba6ac68df6d651730b436f4a447ee26defe23dba..280a3e3aaaf7688a04d41f0339ddf848bb3caca3 100644 (file)
@@ -31,7 +31,6 @@ Curve::Curve (Canvas* c)
        : PolyItem (c)
        , n_samples (0)
        , points_per_segment (16)
-       , curve_type (CatmullRomCentripetal)
        , curve_fill (None)
 {
 }
@@ -40,7 +39,6 @@ Curve::Curve (Item* parent)
        : PolyItem (parent)
        , n_samples (0)
        , points_per_segment (16)
-       , curve_type (CatmullRomCentripetal)
        , curve_fill (None)
 {
 }
@@ -103,7 +101,7 @@ Curve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
         * section of the curve. For now we rely on cairo clipping to help
         * with this.
         */
-       
+
 
        setup_outline_context (context);
 
@@ -167,7 +165,7 @@ Curve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
                draw = draw.expand (4.0);
 
                /* now clip it to the actual points in the curve */
-               
+
                if (draw.x0 < w1.x) {
                        draw.x0 = w1.x;
                }