Skip to content

Commit

Permalink
fix 3D directional light ui
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Oct 22, 2020
1 parent 04d665f commit 16847cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/3d/qgslightswidget.cpp
Expand Up @@ -258,7 +258,6 @@ void QgsLightsWidget::onDirectionChange()
mDirectionZ = horizontalVectorMagnitude * cos( azimuthValue / 180 * M_PI );
mDirectionY = -sin( altitudeValue / 180 * M_PI );


whileBlocking( sliderAltitude )->setValue( altitudeValue );
updateCurrentDirectionalLightParameters();
}
Expand Down

0 comments on commit 16847cd

Please sign in to comment.