Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
Extra logging to try and debug issue #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Williams committed Apr 6, 2021
1 parent c3700a6 commit deaa682
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.0.12

- added extra logging for github issue #8

# 0.0.11

- changed time parameter and blend trees to use `GestureLeft`/`GestureRight` instead of `GestureLeftWeight`/`GestureRightWeight`
Expand Down
6 changes: 5 additions & 1 deletion main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ List<int> GetAllIntOptionsForParam(string paramName) {

Debug.Log("Found " + results.Count + " int options: " + string.Join(", ", results.ToArray()));

if (results.Count == 0) {
Debug.Log("Found 0 int options for param " + paramName + " - this is probably not what you want!");
}

return results;
}

Expand Down Expand Up @@ -305,7 +309,7 @@ void ConvertVrcParametersToChillout()
}
};
} else {
Debug.Log("Param only has 1 option so we are making a toggle instead");
Debug.Log("Param has less than 2 options so we are making a toggle instead");

newParam = new CVRAdvancedSettingsEntry() {
name = vrcParam.name,
Expand Down

0 comments on commit deaa682

Please sign in to comment.