Skip to content

Commit c389fad

Browse files
committedFeb 22, 2019
dxf export: don't label invisible features (fixes #19604)
1 parent 56ec473 commit c389fad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/core/dxf/qgsdxfexport.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,10 @@ void QgsDxfExport::writeEntities()
10731073
QString lName( dxfLayerName( attrIdx < 0 ? layerName( vl ) : fet.attribute( attrIdx ).toString() ) );
10741074

10751075
sctx.setFeature( &fet );
1076+
1077+
if ( !renderer->willRenderFeature( fet, ctx ) )
1078+
continue;
1079+
10761080
if ( mSymbologyExport == NoSymbology )
10771081
{
10781082
addFeature( sctx, ct, lName, nullptr, nullptr ); // no symbology at all

0 commit comments

Comments
 (0)
Please sign in to comment.