Skip to content

Commit

Permalink
Fix: include info about which object has missing curves
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie committed Feb 24, 2023
1 parent c38831b commit e0b6a81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ bool AddValue(float t)
}
else
{
Debug.LogError(null, $"Rotation animation has {prop.curve.Count} curves, expected Euler Angles (3 curves) or Quaternions (4 curves). This is not supported, make sure to animate all components of rotations.");
Debug.LogError(null, $"Rotation animation has {prop.curve.Count} curves, expected Euler Angles (3 curves) or Quaternions (4 curves). This is not supported, make sure to animate all components of rotations. Animated object {prop.target}", prop.target);
}
}
else if (typeof(float) == type)
Expand Down Expand Up @@ -1266,7 +1266,7 @@ public void RemoveUnneededKeyframes(ref float[] times, ref object[] values)
{
if (times.Length == 1)
return;

removeAnimationUnneededKeyframesMarker.Begin();

var t2 = new List<float>(times.Length);
Expand Down

0 comments on commit e0b6a81

Please sign in to comment.