Skip to content

Commit

Permalink
Remove unused list + use animated object as context
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie committed Sep 12, 2022
1 parent 5af841f commit a3d2789
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public void Add(KHR_animation_pointer anim)

public void Resolve(GLTFSceneExporter exporter)
{
var toRemove = new List<KHR_animation_pointer>();
foreach (var reg in registered)
{
animationPointerResolverMarker.Begin();
Expand All @@ -59,7 +58,7 @@ public void Resolve(GLTFSceneExporter exporter)
}
else
{
Debug.LogWarning("Wasn't able to resolve animation pointer for " + reg.animatedObject + " at " + componentPath + ". You can attach custom resolvers to animate properties in extensions.");
Debug.LogWarning("Wasn't able to resolve animation pointer for " + reg.animatedObject + " at " + componentPath + ". You can attach custom resolvers to animate properties in extensions.", reg.animatedObject as Object);
}
}
break;
Expand Down

0 comments on commit a3d2789

Please sign in to comment.