Skip to content

Commit

Permalink
fix: missing customizeAnimationLayers setting
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunderscore committed Feb 3, 2025
1 parent 7fb7aee commit 4d5c01a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#if MA_VRCSDK3_AVATARS

using HarmonyLib;
using modular_avatar_tests;
using nadena.dev.ndmf;
using NUnit.Framework;
using UnityEditor;
using UnityEditor.Animations;
using VRC.SDK3.Avatars.Components;

Expand All @@ -16,7 +18,9 @@ public void SyncedLayerOverride_usesCorrectStateOverride()
var controller = LoadAsset<AnimatorController>("syncedlayer.controller");
var root = CreateRoot("root");
var vrc_descriptor = root.GetComponent<VRCAvatarDescriptor>();


vrc_descriptor.customizeAnimationLayers = true;

var layers = vrc_descriptor.baseAnimationLayers;
for (int i = 0; i < layers.Length; i++)
{
Expand Down

0 comments on commit 4d5c01a

Please sign in to comment.