Fix grainline orientation in AAMA.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-08-02 17:04:31 +03:00
parent 07a7b033b7
commit 4914d2c3e7

View File

@ -737,7 +737,7 @@ void VDxfEngine::ExportAAMAGrainline(dx_ifaceBlock *detailBlock, const VLayoutPi
const QVector<QPointF> grainline = detail.GetGrainline();
if (grainline.count() > 1)
{
DRW_Entity *e = AAMALine(QLineF(grainline.last(), grainline.first()), "7");
DRW_Entity *e = AAMALine(QLineF(grainline.first(), grainline.last()), "7");
if (e)
{
detailBlock->ent.push_back(e);