Skip to content
Permalink
Browse files

Fix broken export of DXF labels

  • Loading branch information
nyalldawson committed Nov 19, 2017
1 parent 4143ab6 commit 3405bc1598521c22e2dcdcb34b6c516cc4fe3fa5
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/core/dxf/qgsdxfexport.cpp
@@ -1014,9 +1014,10 @@ void QgsDxfExport::writeEntities()
rblp = nullptr;
}
}
else
else if ( labeling )
{
lp = new QgsDxfLabelProvider( vl, QString(), this, nullptr );
QgsPalLayerSettings settings = labeling->settings();
lp = new QgsDxfLabelProvider( vl, QString(), this, &settings );
engine.addProvider( lp );

if ( !lp->prepare( ctx, attributes ) )

0 comments on commit 3405bc1

Please sign in to comment.
You can’t perform that action at this time.