Skip to content

Commit 0459a3d

Browse files
committedJan 16, 2019
fix copy-paste error in mesh symbol type
1 parent d2834bb commit 0459a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/3d/qgsmeshlayer3drendererwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void QgsMeshLayer3DRendererWidget::setRenderer( const QgsMeshLayer3DRenderer *re
6161

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

64-
if ( mRenderer && mRenderer->symbol() && mRenderer->symbol()->type() == QLatin1String( "polygon" ) )
64+
if ( mRenderer && mRenderer->symbol() && mRenderer->symbol()->type() == QLatin1String( "mesh" ) )
6565
{
6666
whileBlocking( widgetMesh )->setSymbol( *static_cast<const QgsMesh3DSymbol *>( mRenderer->symbol() ), nullptr );
6767
}

0 commit comments

Comments
 (0)
Please sign in to comment.