Bug fix: triangles setVertex() did nothing

This commit is contained in:
Tats
2014-03-22 01:53:51 -04:00
parent 7f10566ede
commit 13364f98c7
+3
View File
@@ -33,7 +33,10 @@ void Polygon::setVertex(int i, const QPointF& v)
{
// Weird, but nothing to do.
if (nVertices() <= 3)
{
Shape::setVertex(i, v);
return;
}
QPointF realV = v;