Skip to content
Permalink
Browse files

dxf export: don't label invisible features (fixes #19604)

  • Loading branch information
jef-n committed Feb 22, 2019
1 parent 56ec473 commit c389fad1ad0396cf9914dedc8d2e9a9c303cd8f8
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/dxf/qgsdxfexport.cpp
@@ -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

0 comments on commit c389fad

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