changed curve key

This commit is contained in:
SND\floAr_cp 2011-11-19 23:00:59 +00:00
parent f28f02bf7a
commit 2143a23328

View File

@ -116,7 +116,7 @@ namespace ANX.Framework
#region Equals
public bool Equals(CurveKey other)
{
return other != null &&
return
other.Position == Position &&
other.Value == Value &&
other.TangentIn == TangentIn &&
@ -146,13 +146,7 @@ namespace ANX.Framework
#region Equality
public static bool operator ==(CurveKey a, CurveKey b)
{
if (a == null ||
b == null)
{
return (a == null && b == null);
}
return a.Equals(b);
return a.Equals(b);
}
#endregion