Skip to content

Commit e00ba6d

Browse files
committedJul 6, 2016
Fix hillshading renderer XML loading (fixes #15195)
1 parent af3ad83 commit e00ba6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/core/raster/qgshillshaderenderer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ QgsRasterRenderer *QgsHillshadeRenderer::create( const QDomElement &elem, QgsRas
6060
double zFactor = elem.attribute( "zfactor", "1" ).toDouble();
6161
bool multiDirectional = elem.attribute( "multidirection", "0" ).toInt();
6262
QgsHillshadeRenderer* r = new QgsHillshadeRenderer( input, band, azimuth , angle );
63+
r->readXML( elem );
64+
6365
r->setZFactor( zFactor );
6466
r->setMultiDirectional( multiDirectional );
6567
return r;

2 commit comments

Comments
 (2)

nirvn commented on Jul 7, 2016

@nirvn
Contributor

@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.

wonder-sk commented on Jul 7, 2016

@wonder-sk
MemberAuthor

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

Please sign in to comment.