Skip to content
Permalink
Browse files

Update src/app/3d/qgslightswidget.cpp

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
2 people authored and nyalldawson committed Jun 19, 2020
1 parent e31116b commit d1ed0cc172ae2ba72e22a56caa1206d9fca3db4a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/3d/qgslightswidget.cpp
@@ -158,7 +158,7 @@ void QgsLightsWidget::onAddLight()

void QgsLightsWidget::onAddDirectionalLight()
{
if ( mDirectionalLights.count() >= 4 )
if ( mDirectionalLights.count() > 4 )
{
QMessageBox::warning( this, tr( "Add Directional Light" ), tr( "It is not possible to add more than 4 directional lights to the scene." ) );
return;

0 comments on commit d1ed0cc

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