diff --git a/common/light.cpp b/common/light.cpp index 201bee96..4dc4399c 100644 --- a/common/light.cpp +++ b/common/light.cpp @@ -610,7 +610,7 @@ bool lcLight::SetBlenderRadius(float Radius, lcStep Step, bool AddKey) bool lcLight::SetBlenderAngle(float Angle, lcStep Step, bool AddKey) { - return mBlenderAngle.ChangeKey(Angle, Step, AddKey); + return mBlenderAngle.ChangeKey(Angle * LC_DTOR, Step, AddKey); } bool lcLight::SetAreaSizeX(float Size, lcStep Step, bool AddKey) diff --git a/common/light.h b/common/light.h index 48d28a6b..46aa1f12 100644 --- a/common/light.h +++ b/common/light.h @@ -301,7 +301,7 @@ public: float GetBlenderAngle() const { - return mBlenderAngle; + return mBlenderAngle * LC_RTOD; } bool SetAreaSizeX(float Size, lcStep Step, bool AddKey);