From e8fd732f227ac07c0b9775b1fc717e684daec504 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 22 Aug 2023 08:47:29 +1000 Subject: [PATCH] Minor tweaks to tiled scene 3d renderer widget --- src/app/3d/qgstiledscenelayer3drendererwidget.cpp | 2 ++ src/ui/3d/qgstiledscenelayer3dpropertieswidget.ui | 14 +++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/app/3d/qgstiledscenelayer3drendererwidget.cpp b/src/app/3d/qgstiledscenelayer3drendererwidget.cpp index 25a658ab83de..7a32e677f4c6 100644 --- a/src/app/3d/qgstiledscenelayer3drendererwidget.cpp +++ b/src/app/3d/qgstiledscenelayer3drendererwidget.cpp @@ -26,6 +26,8 @@ QgsTiledSceneLayer3DPropertiesWidget::QgsTiledSceneLayer3DPropertiesWidget( QWid { setupUi( this ); + mMaxErrorSpinBox->setClearValue( 50 ); + connect( mMaxErrorSpinBox, qOverload( &QgsDoubleSpinBox::valueChanged ), this, &QgsTiledSceneLayer3DPropertiesWidget::widgetChanged ); connect( mShowBoundingBoxesCheckBox, &QCheckBox::clicked, this, &QgsTiledSceneLayer3DPropertiesWidget::widgetChanged ); } diff --git a/src/ui/3d/qgstiledscenelayer3dpropertieswidget.ui b/src/ui/3d/qgstiledscenelayer3dpropertieswidget.ui index d44affcc88d1..e57cb5c2b062 100644 --- a/src/ui/3d/qgstiledscenelayer3dpropertieswidget.ui +++ b/src/ui/3d/qgstiledscenelayer3dpropertieswidget.ui @@ -11,6 +11,18 @@ + + 0 + + + 0 + + + 0 + + + 0 + @@ -30,7 +42,7 @@ - Maximum error + Maximum screen space error