Skip to content

Commit

Permalink
Merge pull request #493 from anatawa12/eye-not-registered-as-move
Browse files Browse the repository at this point in the history
fix: left eye disappears
  • Loading branch information
anatawa12 authored Sep 20, 2023
2 parents a94f897 + 0deca74 commit 39ff439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-PRERELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog].
### Removed

### Fixed
- Left eye disappears `#493`

### Security

Expand Down
2 changes: 1 addition & 1 deletion Editor/Processors/TraceAndOptimize/AnimatorParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ void MergeLayer(VRCAvatarDescriptor.AnimLayerType type, bool alwaysApplied, floa
var rightEye = descriptor.customEyeLookSettings.rightEye;
if (leftEye)
{
var updater = modificationsContainer.ModifyObject(rightEye);
var updater = modificationsContainer.ModifyObject(leftEye);
foreach (var prop in TransformRotationAnimationKeys)
updater.AddModificationAsNewLayer(prop, AnimationProperty.Variable());
}
Expand Down

0 comments on commit 39ff439

Please sign in to comment.