Skip to content

Commit

Permalink
Allow opacity change for 25d renderer colors (fix #14877)
Browse files Browse the repository at this point in the history
(cherry-picked from 7af95b1)
  • Loading branch information
nyalldawson committed May 25, 2016
1 parent 3244d4b commit b0638d9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/gui/symbology-ng/qgs25drendererwidget.cpp
Expand Up @@ -38,6 +38,16 @@ Qgs25DRendererWidget::Qgs25DRendererWidget( QgsVectorLayer* layer, QgsStyleV2* s

setupUi( this );

mWallColorButton->setColorDialogTitle( tr( "Select wall color" ) );
mWallColorButton->setAllowAlpha( true );
mWallColorButton->setContext( "symbology" );
mRoofColorButton->setColorDialogTitle( tr( "Select roof color" ) );
mRoofColorButton->setAllowAlpha( true );
mRoofColorButton->setContext( "symbology" );
mShadowColorButton->setColorDialogTitle( tr( "Select shadow color" ) );
mShadowColorButton->setAllowAlpha( true );
mShadowColorButton->setContext( "symbology" );

if ( renderer )
{
mRenderer = Qgs25DRenderer::convertFromRenderer( renderer );
Expand Down

0 comments on commit b0638d9

Please sign in to comment.