Skip to content
Permalink
Browse files

[3d] Fix reset buttons in 3d config dialog reset values to 0, not ini…

…tial settings
  • Loading branch information
nyalldawson committed Jul 30, 2018
1 parent 7f84b6c commit df1832f90b002d7fd36eda57f6d03851918c1a6d
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/app/3d/qgs3dmapconfigwidget.cpp
@@ -34,6 +34,13 @@ Qgs3DMapConfigWidget::Qgs3DMapConfigWidget( Qgs3DMapSettings *map, QgsMapCanvas
Q_ASSERT( map );
Q_ASSERT( mainCanvas );

spinTerrainScale->setClearValue( 1.0 );
spinTerrainResolution->setClearValue( 16 );
spinTerrainSkirtHeight->setClearValue( 10 );
spinMapResolution->setClearValue( 512 );
spinScreenError->setClearValue( 3 );
spinGroundError->setClearValue( 1 );

cboTerrainLayer->setAllowEmptyLayer( true );
cboTerrainLayer->setFilters( QgsMapLayerProxyModel::RasterLayer );

0 comments on commit df1832f

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