Skip to content

Commit

Permalink
Ensure 3D rendering options are disabled when adding a mesh layer
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and wonder-sk committed May 18, 2020
1 parent 0cc8e27 commit 36ee4e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/3d/qgsmeshlayer3drendererwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ QgsMeshLayer3DRendererWidget::QgsMeshLayer3DRendererWidget( QgsMeshLayer *layer,
mWidgetMesh = new QgsMesh3dSymbolWidget( layer, this );
mWidgetMesh->configureForDataset();
layout->addWidget( mWidgetMesh );
mWidgetMesh->setEnabled( false );

connect( mChkEnabled, &QCheckBox::clicked, this, &QgsMeshLayer3DRendererWidget::onEnabledClicked );
connect( mWidgetMesh, &QgsMesh3dSymbolWidget::changed, this, &QgsMeshLayer3DRendererWidget::widgetChanged );
Expand Down

0 comments on commit 36ee4e5

Please sign in to comment.