Display Blender angle in degrees.
This commit is contained in:
+1
-1
@@ -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
@@ -301,7 +301,7 @@ public:
|
||||
|
||||
float GetBlenderAngle() const
|
||||
{
|
||||
return mBlenderAngle;
|
||||
return mBlenderAngle * LC_RTOD;
|
||||
}
|
||||
|
||||
bool SetAreaSizeX(float Size, lcStep Step, bool AddKey);
|
||||
|
||||
Reference in New Issue
Block a user