Skip to content

Commit b4e3160

Browse files
committedOct 26, 2018
[Server][GetPrint] Draw selection for SVG output
1 parent c47c0ef commit b4e3160

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/server/services/wms/qgswmsrenderer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,8 @@ namespace QgsWms
396396
if ( ok )
397397
exportSettings.dpi = dpi;
398398
}
399+
// Draw selections
400+
exportSettings.flags |= QgsLayoutRenderContext::FlagDrawSelection;
399401
QgsLayoutExporter exporter( layout.get() );
400402
exporter.exportToSvg( tempOutputFile.fileName(), exportSettings );
401403
}

0 commit comments

Comments
 (0)
Please sign in to comment.