diff --git a/src/Mod/TechDraw/App/DrawLeaderLine.h b/src/Mod/TechDraw/App/DrawLeaderLine.h index 4ebf183672..cd27684117 100644 --- a/src/Mod/TechDraw/App/DrawLeaderLine.h +++ b/src/Mod/TechDraw/App/DrawLeaderLine.h @@ -44,7 +44,7 @@ public: App::PropertyLink LeaderParent; App::PropertyVectorList WayPoints; - App::PropertyInteger StartSymbol; + App::PropertyInteger StartSymbol; //see Gui/QGIArrow for values App::PropertyInteger EndSymbol; App::PropertyBool Scalable; App::PropertyBool AutoHorizontal; diff --git a/src/Mod/TechDraw/Gui/QGILeaderLine.cpp b/src/Mod/TechDraw/Gui/QGILeaderLine.cpp index 6d9d7a5b6a..cbaf52385e 100644 --- a/src/Mod/TechDraw/Gui/QGILeaderLine.cpp +++ b/src/Mod/TechDraw/Gui/QGILeaderLine.cpp @@ -492,7 +492,7 @@ void QGILeaderLine::setArrows(std::vector pathPoints) TechDraw::DrawLeaderLine* featLeader = getFeature(); double baseScale = featLeader->getBaseScale(); - QPointF lastOffset = (pathPoints.back() - pathPoints.front()) * baseScale; + QPointF lastOffset = (pathPoints.back() - pathPoints.front()); if (featLeader->StartSymbol.getValue() > -1) { m_arrow1->setStyle(featLeader->StartSymbol.getValue()); diff --git a/src/Mod/TechDraw/Gui/TaskLeaderLine.ui b/src/Mod/TechDraw/Gui/TaskLeaderLine.ui index e4ea19d704..51bbe1842e 100644 --- a/src/Mod/TechDraw/Gui/TaskLeaderLine.ui +++ b/src/Mod/TechDraw/Gui/TaskLeaderLine.ui @@ -153,7 +153,7 @@ - 1 + 0 @@ -214,6 +214,15 @@ :/icons/arrowfork.svg:/icons/arrowfork.svg + + + Pyramid + + + + :/icons/arrowpyramid.svg:/icons/arrowpyramid.svg + + @@ -284,6 +293,15 @@ :/icons/arrowfork.svg:/icons/arrowfork.svg + + + Pyramid + + + + :/icons/arrowpyramid.svg:/icons/arrowpyramid.svg + + @@ -295,7 +313,7 @@ - + 0 0