Navigation Menu

Skip to content

Commit

Permalink
[Server][GetPrint] Draw selection for SVG output
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Oct 26, 2018
1 parent c47c0ef commit b4e3160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -396,6 +396,8 @@ namespace QgsWms
if ( ok )
exportSettings.dpi = dpi;
}
// Draw selections
exportSettings.flags |= QgsLayoutRenderContext::FlagDrawSelection;
QgsLayoutExporter exporter( layout.get() );
exporter.exportToSvg( tempOutputFile.fileName(), exportSettings );
}
Expand Down

0 comments on commit b4e3160

Please sign in to comment.