Skip to content

Commit

Permalink
fix: animation generation module typo
Browse files Browse the repository at this point in the history
  • Loading branch information
poi-vrc committed Aug 24, 2023
1 parent 74a4b65 commit a423ebd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ private static void InvertToggleStates(DTCabinet cabinet, WearableConfig config,
// invert wearable toggles
foreach (var toggle in agm.wearableAnimationOnWear.toggles)
{
Debug.Log("toggle: " + toggle != null);
var wearableToggleObj = wearableGameObject.transform.Find(toggle.path);
if (wearableGameObject == null)
if (wearableToggleObj == null)
{
Debug.LogWarning("[DressingTools] [AnimationGenerationModule] Wearable toggle GameObject not found at path: " + toggle.path);
continue;
Expand Down

0 comments on commit a423ebd

Please sign in to comment.