From 35b1a2fb9acf0d8b2fecc46a1e4e2a127fb96fd7 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 25 May 2016 11:48:32 +0300 Subject: [PATCH] Show direction when show a visualization. --HG-- branch : develop --- src/libs/vtools/visualization/line/vistoolrotation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vtools/visualization/line/vistoolrotation.cpp b/src/libs/vtools/visualization/line/vistoolrotation.cpp index 549b2e374..7be9fd8f1 100644 --- a/src/libs/vtools/visualization/line/vistoolrotation.cpp +++ b/src/libs/vtools/visualization/line/vistoolrotation.cpp @@ -259,14 +259,14 @@ int VisToolRotation::AddCurve(qreal angle, const QPointF &origin, quint32 id, in ++i; QGraphicsPathItem *path = GetCurve(i, supportColor2); - DrawPath(path, curve->GetPath(PathDirection::Hide), supportColor2, Qt::SolidLine, Qt::RoundCap); + DrawPath(path, curve->GetPath(PathDirection::Show), supportColor2, Qt::SolidLine, Qt::RoundCap); ++i; path = GetCurve(i, supportColor); if (object1Id != NULL_ID) { const Item rotated = curve->Rotate(origin, angle); - DrawPath(path, rotated.GetPath(PathDirection::Hide), supportColor, Qt::SolidLine, Qt::RoundCap); + DrawPath(path, rotated.GetPath(PathDirection::Show), supportColor, Qt::SolidLine, Qt::RoundCap); } return i;