Display Blender angle in degrees.

This commit is contained in:
Leonardo Zide
2025-08-31 10:47:14 -07:00
parent bf8e4cb8fa
commit ca88e5c2b3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -301,7 +301,7 @@ public:
float GetBlenderAngle() const
{
return mBlenderAngle;
return mBlenderAngle * LC_RTOD;
}
bool SetAreaSizeX(float Size, lcStep Step, bool AddKey);