Skip to content

Commit

Permalink
Merge pull request #13 from yokra9/fix-failure-on-constraints-with-none
Browse files Browse the repository at this point in the history
Fix compile error on 53cf280
  • Loading branch information
shoshoi authored Aug 21, 2022
2 parents 566e45e + 16f8a22 commit b8b036b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/VRoidAvatar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ void setConstraint<T>(T[] constraints) where T : Behaviour, IConstraint

if (f.sourceTransform != null)
{
d.sourceTransform = gameObject.transform.Find(f.sourceTransform.gameObject.GetFullPath());
d.sourceTransform = targetObject.transform.Find(f.sourceTransform.gameObject.GetFullPath());
}
d.weight = f.weight;
dest.Add(d);
Expand Down

0 comments on commit b8b036b

Please sign in to comment.