]> git.sesse.net Git - kdenlive/blobdiff - src/beziercurve/cubicbezierspline.h
Bézier spline:
[kdenlive] / src / beziercurve / cubicbezierspline.h
index 078066e29cc20f8d47ba2eda471ca233d5d907ed..4ddd0ce807869001d5d386504e57a4e9bc72b2ea 100644 (file)
@@ -29,6 +29,7 @@ public:
     QPointF p;      // point
     QPointF h2;     // handle 2
 
+    BPoint() { p = QPointF(-1,-1); } // makes it illegal -> cannot be equal any point
     bool operator==(const BPoint &point) const { return point.h1 == h1 && point.p == p && point.h2 == h2; }
 };