Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dxf export: don't label invisible features (fixes #19604)
(cherry picked from commit c389fad)
  • Loading branch information
jef-n committed Feb 22, 2019
1 parent db82317 commit 87c9e18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/dxf/qgsdxfexport.cpp
Expand Up @@ -1072,6 +1072,10 @@ void QgsDxfExport::writeEntities()
QString lName( dxfLayerName( attrIdx < 0 ? layerName( vl ) : fet.attribute( attrIdx ).toString() ) );

sctx.setFeature( &fet );

if ( !renderer->willRenderFeature( fet, ctx ) )
continue;

if ( mSymbologyExport == NoSymbology )
{
addFeature( sctx, ct, lName, nullptr, nullptr ); // no symbology at all
Expand Down

0 comments on commit 87c9e18

Please sign in to comment.