Skip to content

Commit

Permalink
fix copy-paste error in mesh symbol type
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Jan 16, 2019
1 parent d2834bb commit 0459a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/3d/qgsmeshlayer3drendererwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void QgsMeshLayer3DRendererWidget::setRenderer( const QgsMeshLayer3DRenderer *re

whileBlocking( chkEnabled )->setChecked( ( bool )mRenderer );

if ( mRenderer && mRenderer->symbol() && mRenderer->symbol()->type() == QLatin1String( "polygon" ) )
if ( mRenderer && mRenderer->symbol() && mRenderer->symbol()->type() == QLatin1String( "mesh" ) )
{
whileBlocking( widgetMesh )->setSymbol( *static_cast<const QgsMesh3DSymbol *>( mRenderer->symbol() ), nullptr );
}
Expand Down

0 comments on commit 0459a3d

Please sign in to comment.