Optitex doesn't like layer 19.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-07-19 10:33:21 +03:00
parent f9d63047c9
commit f20549d310
2 changed files with 5 additions and 4 deletions

View File

@ -267,9 +267,10 @@ void dx_iface::AddAAMALayers()
layer.color = DRW::black;
cData.layers.push_back(layer);
layer.name = "19";// TEXT
layer.color = DRW::black;
cData.layers.push_back(layer);
// Optitex doesn't like this layer
// layer.name = "19";// TEXT
// layer.color = DRW::black;
// cData.layers.push_back(layer);
// layer.name = "26";// REF
// layer.color = DRW::black;

View File

@ -755,7 +755,7 @@ void VDxfEngine::ExportAAMAText(dx_ifaceBlock *detailBlock, const VLayoutPiece &
for (int i = 0; i < list.size(); ++i)
{
QPointF pos(startPos.x(), startPos.y() - ToPixel(AAMATextHeight, varInsunits)*(list.size() - i-1));
detailBlock->ent.push_back(AAMAText(pos, list.at(i), "19"));
detailBlock->ent.push_back(AAMAText(pos, list.at(i), "1"));
}
}