Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Really set minimum pc budget size
  • Loading branch information
nyalldawson committed Feb 18, 2021
1 parent 282cb68 commit aa897e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/3d/qgspointcloud3dsymbolwidget.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit aa897e4

Please sign in to comment.