Skip to content
Permalink
Browse files

Really set minimum pc budget size

  • Loading branch information
nyalldawson committed Feb 18, 2021
1 parent 282cb68 commit aa897e4daa5a3613763603c72d08ffbcc889eb8e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/3d/qgspointcloud3dsymbolwidget.cpp
@@ -88,7 +88,7 @@ QgsPointCloud3DSymbolWidget::QgsPointCloud3DSymbolWidget( QgsPointCloudLayer *la
mRenderingStyleComboBox->setCurrentIndex( 0 );
mStackedWidget->setCurrentIndex( 0 );

whileBlocking( mPointBudgetSpinBox )->setMinimum( 0 );
whileBlocking( mPointBudgetSpinBox )->setMinimum( std::min( mLayer->pointCount() / 2, 100000 ) );
whileBlocking( mPointBudgetSpinBox )->setMaximum( mLayer->pointCount() + 1 );
whileBlocking( mPointBudgetSpinBox )->setValue( 1000000 );

0 comments on commit aa897e4

Please sign in to comment.