Skip to content

Commit

Permalink
fix: ModifyProperties is not correct
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Oct 1, 2023
1 parent ff47fc4 commit c06a799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/Processors/TraceAndOptimize/AnimatorParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private class Collector : IComponentMutationsCollector
public void ModifyProperties(Component component, IEnumerable<string> properties)
{
var updater = _modifications.ModifyObject(component);
foreach (var prop in TransformPositionAnimationKeys.Concat(TransformRotationAnimationKeys))
foreach (var prop in properties)
updater.AddModificationAsNewLayer(prop, AnimationProperty.Variable());
}
}
Expand Down

0 comments on commit c06a799

Please sign in to comment.