Skip to content

Commit

Permalink
3D config : hide general terrain shading for mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Oct 18, 2020
1 parent 2626ad6 commit 1b6191d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/3d/qgs3dmapconfigwidget.cpp
Expand Up @@ -295,6 +295,7 @@ void Qgs3DMapConfigWidget::onTerrainTypeChanged()
labelTerrainLayer->setVisible( genType == QgsTerrainGenerator::Dem || genType == QgsTerrainGenerator::Mesh );
cboTerrainLayer->setVisible( genType == QgsTerrainGenerator::Dem || genType == QgsTerrainGenerator::Mesh );
groupMeshTerrainShading->setVisible( genType == QgsTerrainGenerator::Mesh );
groupTerrainShading->setVisible( genType != QgsTerrainGenerator::Mesh );

QgsMapLayer *oldTerrainLayer = cboTerrainLayer->currentLayer();
if ( cboTerrainType->currentData() == QgsTerrainGenerator::Dem )
Expand Down

0 comments on commit 1b6191d

Please sign in to comment.