Skip to content
Permalink
Browse files

Ensure 3D rendering options are disabled when adding a mesh layer

  • Loading branch information
DelazJ authored and wonder-sk committed Apr 26, 2020
1 parent 0cc8e27 commit 36ee4e5ad7d485cfd6fc026b2acd4b3cdf37b38e
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/3d/qgsmeshlayer3drendererwidget.cpp
@@ -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 );

0 comments on commit 36ee4e5

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