Skip to content
Permalink
Browse files

fix copy-paste error in mesh symbol type

  • Loading branch information
PeterPetrik committed Jan 16, 2019
1 parent d2834bb commit 0459a3db4440dd016673796e11b1b57c89d307aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/3d/qgsmeshlayer3drendererwidget.cpp
@@ -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 );
}

0 comments on commit 0459a3d

Please sign in to comment.
You can’t perform that action at this time.