Fix regression in method VDxfEngine::ExportAAMADrill().
Placelabel center no longer mapped. Mapping must be made manually. --HG-- branch : develop
This commit is contained in:
parent
bcea1b69fa
commit
50dd76b256
|
@ -801,9 +801,10 @@ void VDxfEngine::ExportAAMADrill(dx_ifaceBlock *detailBlock, const VLayoutPiece
|
||||||
if (label.type == PlaceLabelType::Doubletree || label.type == PlaceLabelType::Button
|
if (label.type == PlaceLabelType::Doubletree || label.type == PlaceLabelType::Button
|
||||||
|| label.type == PlaceLabelType::Circle)
|
|| label.type == PlaceLabelType::Circle)
|
||||||
{
|
{
|
||||||
|
const QPointF center = detail.GetMatrix().map(label.center);
|
||||||
DRW_Point *point = new DRW_Point();
|
DRW_Point *point = new DRW_Point();
|
||||||
point->basePoint = DRW_Coord(FromPixel(label.center.x(), varInsunits),
|
point->basePoint = DRW_Coord(FromPixel(center.x(), varInsunits),
|
||||||
FromPixel(getSize().height() - label.center.y(), varInsunits), 0);
|
FromPixel(getSize().height() - center.y(), varInsunits), 0);
|
||||||
point->layer = "13";
|
point->layer = "13";
|
||||||
|
|
||||||
detailBlock->ent.push_back(point);
|
detailBlock->ent.push_back(point);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user