Skip to content

Commit

Permalink
Add default value to max screen space spin box
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 9, 2020
1 parent 5d787c5 commit 50532da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/app/3d/qgspointcloud3dsymbolwidget.cpp
Expand Up @@ -33,6 +33,7 @@ QgsPointCloud3DSymbolWidget::QgsPointCloud3DSymbolWidget( QgsPointCloudLayer *la
setupUi( this );

mPointSizeSpinBox->setClearValue( 2.0 );
mMaxScreenErrorSpinBox->setClearValue( 1.0 );

mRenderingParameterComboBox->setLayer( layer );
mRenderingParameterComboBox->setFilters( QgsPointCloudAttributeProxyModel::Numeric );
Expand Down
4 changes: 2 additions & 2 deletions src/ui/3d/qgspointcloud3dsymbolwidget.ui
Expand Up @@ -59,7 +59,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="mMaxScreenErrorSpinBox">
<widget class="QgsDoubleSpinBox" name="mMaxScreenErrorSpinBox">
<property name="maximum">
<double>100000.000000000000000</double>
</property>
Expand Down Expand Up @@ -141,7 +141,7 @@
</layout>
</widget>
<widget class="QWidget" name="colorRampRendererPage">
<layout class="QGridLayout" name="gridLayout_3" rowstretch="0,0,0" columnstretch="0,0">
<layout class="QGridLayout" name="gridLayout_3" rowstretch="0,0,1" columnstretch="0,0">
<property name="leftMargin">
<number>0</number>
</property>
Expand Down

0 comments on commit 50532da

Please sign in to comment.