Skip to content

Commit

Permalink
dxf export: don't label invisible features (fixes #19604)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 22, 2019
1 parent 56ec473 commit c389fad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/dxf/qgsdxfexport.cpp
Expand Up @@ -1073,6 +1073,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 c389fad

Please sign in to comment.