]> git.sesse.net Git - kdenlive/commitdiff
rotoscoping: fix setup issues
authorTill Theato <root@ttill.de>
Wed, 2 Feb 2011 15:56:09 +0000 (15:56 +0000)
committerTill Theato <root@ttill.de>
Wed, 2 Feb 2011 15:56:09 +0000 (15:56 +0000)
svn path=/trunk/kdenlive/; revision=5378

src/rotoscoping/rotowidget.cpp

index 2d9e0adcfff06731145e7da92d1375181e5ea540..e755dd23e46cb5b3324ebf11c575fdb185b80c24 100644 (file)
@@ -54,7 +54,7 @@ RotoWidget::RotoWidget(QString data, Monitor *monitor, int in, int out, QWidget*
         QList <QVariant> l = bpoint.toList();
         BPoint p;
         p.h1 = QPointF(l.at(0).toList().at(0).toDouble() * width, l.at(0).toList().at(1).toDouble() * height);
-        p.p = QPointF(l.at(1).toList().at(0).toDouble() * width, l.at(2).toList().at(1).toDouble() * height);
+        p.p = QPointF(l.at(1).toList().at(0).toDouble() * width, l.at(1).toList().at(1).toDouble() * height);
         p.h2 = QPointF(l.at(2).toList().at(0).toDouble() * width, l.at(2).toList().at(1).toDouble() * height);
         points << p;
     }