Skip to content

Commit 8498000

Browse files
vcloarecnyalldawson
authored andcommittedMar 17, 2023
fix global map shading when exporting canvas as image
1 parent 52e2a87 commit 8498000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsmapsavedialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ void QgsMapSaveDialog::applyMapSettings( QgsMapSettings &mapSettings )
350350
mapSettings.setPathResolver( QgsProject::instance()->pathResolver() );
351351
mapSettings.setTemporalRange( mMapCanvas->mapSettings().temporalRange() );
352352
mapSettings.setIsTemporal( mMapCanvas->mapSettings().isTemporal() );
353-
353+
mapSettings.setElevationShadingRenderer( mMapCanvas->mapSettings().elevationShadingRenderer() );
354354

355355
//build the expression context
356356
QgsExpressionContext expressionContext;

0 commit comments

Comments
 (0)
Please sign in to comment.