Skip to content
Browse files
Fix hillshading renderer XML loading (fixes #15195)
  • Loading branch information
wonder-sk committed Jul 6, 2016
1 parent af3ad83 commit e00ba6d725242b092d52c2a088d39fd83e45e6e5
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/raster/qgshillshaderenderer.cpp
@@ -60,6 +60,8 @@ QgsRasterRenderer *QgsHillshadeRenderer::create( const QDomElement &elem, QgsRas
double zFactor = elem.attribute( "zfactor", "1" ).toDouble();
bool multiDirectional = elem.attribute( "multidirection", "0" ).toInt();
QgsHillshadeRenderer* r = new QgsHillshadeRenderer( input, band, azimuth , angle );
r->readXML( elem );

r->setZFactor( zFactor );
r->setMultiDirectional( multiDirectional );
return r;

2 comments on commit e00ba6d


This comment has been minimized.

Copy link

@nirvn nirvn replied Jul 7, 2016

@wonder-sk , thanks for working on this.

Situation has improved, in that the transparency panel now works. However, if I go back to the symbology tab and change any setting (say azimuth), the global transparency slider value is reset to 0.


This comment has been minimized.

Copy link
Member Author

@wonder-sk wonder-sk replied Jul 7, 2016

Thanks for testing - I see you have created a ticket for that - should be fixed now on master...

Please sign in to comment.