Skip to content
Permalink
Browse files

fix 3D mesh color ramp widget displaying

  • Loading branch information
vcloarec authored and nyalldawson committed Oct 16, 2020
1 parent 06cfdd9 commit 9883c42c1c643dfb3bbb28c62800cfbeaa7ba6ae
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/app/3d/qgsmesh3dsymbolwidget.cpp
@@ -65,8 +65,6 @@ QgsMesh3dSymbolWidget::QgsMesh3dSymbolWidget( QgsMeshLayer *meshLayer, QWidget *
this, &QgsMesh3dSymbolWidget::changed );

connect( mArrowsFixedSizeCheckBox, &QCheckBox::clicked, this, &QgsMesh3dSymbolWidget::changed );

onColoringTypeChanged();
}

void QgsMesh3dSymbolWidget::setSymbol( const QgsMesh3DSymbol *symbol )
@@ -97,6 +95,8 @@ void QgsMesh3dSymbolWidget::configureForTerrain()
mComboBoxTextureType->addItem( tr( "Color Ramp Shader" ), QgsMesh3DSymbol::ColorRamp );
enableVerticalSetting( false );
enableArrowSettings( false );

onColoringTypeChanged();
}

void QgsMesh3dSymbolWidget::configureForDataset()
@@ -105,6 +105,8 @@ void QgsMesh3dSymbolWidget::configureForDataset()
mGroupBoxColorRampShader->hide();
enableVerticalSetting( true );
enableArrowSettings( true );

onColoringTypeChanged();
}

void QgsMesh3dSymbolWidget::setLayer( QgsMeshLayer *meshLayer, bool updateSymbol )

0 comments on commit 9883c42

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