[TD]support pyramid arrow in leader

This commit is contained in:
WandererFan
2019-12-29 22:02:52 -05:00
committed by WandererFan
parent 911ab15224
commit 98ed976e24
3 changed files with 22 additions and 4 deletions

View File

@@ -492,7 +492,7 @@ void QGILeaderLine::setArrows(std::vector<QPointF> 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());