From ca88e5c2b33c72740aa138dae64cd6188170f4d4 Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Sun, 31 Aug 2025 10:47:14 -0700 Subject: [PATCH] Display Blender angle in degrees. --- common/light.cpp | 2 +- common/light.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);