diff options
Diffstat (limited to 'src/render/lights/qspotlight.cpp')
-rw-r--r-- | src/render/lights/qspotlight.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/lights/qspotlight.cpp b/src/render/lights/qspotlight.cpp index 6b8bf6906..13c81b494 100644 --- a/src/render/lights/qspotlight.cpp +++ b/src/render/lights/qspotlight.cpp @@ -153,7 +153,7 @@ void QSpotLight::setDirection(const QVector3D &direction) Q_D(QSpotLight); if (direction != d->m_direction) { d->m_direction = direction; - emit directionChanged(); + emit directionChanged(direction); } } @@ -162,7 +162,7 @@ void QSpotLight::setCutOffAngle(float cutOffAngle) Q_D(QSpotLight); if (d->m_cutOffAngle != cutOffAngle) { d->m_cutOffAngle = cutOffAngle; - emit cutOffAngleChanged(); + emit cutOffAngleChanged(cutOffAngle); } } |