Skip to content

Commit

Permalink
Tag try catch and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Happyrobot33 committed May 13, 2024
1 parent 64d629f commit 85f882b
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 17 deletions.

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Assets/UdonSharp/Settings.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions Packages/com.mattshark.openflight/Editor/TagNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,21 @@ private static int getTagCount()
[MenuItem("VRC Packages/OpenFlight/Add OpenFlight Tag")]
private static async Task runAutoTag()
{
//exit if they have opted out
if (getProjectTagDecision())
try
{
return;
}
//exit if they have opted out
if (getProjectTagDecision())
{
return;
}

await GetWorld();
addTag("openflight");
await GetWorld();
addTag("openflight");
}
catch (Exception e)
{
Debug.LogWarning("OpenFlight: Error automatically adding OpenFlight tag. This is not a critical error, but you may want to add the tag manually. Error: " + e.Message);
}
}

//button to reset opt out decision
Expand Down
8 changes: 8 additions & 0 deletions Packages/com.mattshark.openflight/Editor/UI Styler.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -21558,7 +21558,7 @@ PrefabInstance:
type: 3}
propertyPath: DynamicMaterials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: aabb29aed4263394fb007e1929862c35, type: 2}
objectReference: {fileID: 2100000, guid: 0923c77949c327045b5f8e90603d8950, type: 2}
- target: {fileID: 6759095419728963412, guid: 8894fa7e4588a5c4fab98453e558847d,
type: 3}
propertyPath: DynamicMaterials.Array.data[2]
Expand All @@ -21568,12 +21568,12 @@ PrefabInstance:
type: 3}
propertyPath: DynamicMaterials.Array.data[3]
value:
objectReference: {fileID: 2100000, guid: c2ccc285a7ce18c4c9f486b4bd981b7d, type: 2}
objectReference: {fileID: 2100000, guid: aabb29aed4263394fb007e1929862c35, type: 2}
- target: {fileID: 6759095419728963412, guid: 8894fa7e4588a5c4fab98453e558847d,
type: 3}
propertyPath: DynamicMaterials.Array.data[4]
value:
objectReference: {fileID: 2100000, guid: 0923c77949c327045b5f8e90603d8950, type: 2}
objectReference: {fileID: 2100000, guid: c2ccc285a7ce18c4c9f486b4bd981b7d, type: 2}
- target: {fileID: 6759095419728963412, guid: 8894fa7e4588a5c4fab98453e558847d,
type: 3}
propertyPath: DynamicMaterials.Array.data[5]
Expand Down
2 changes: 1 addition & 1 deletion Packages/com.mattshark.openflight/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.mattshark.openflight",
"displayName": "OpenFlight",
"version": "1.7.2",
"version": "1.7.3",
"description": "A VRChat flight system that allow all kinds of avatars to fly. https://github.com/Mattshark89/OpenFlight-VRC",
"bugs" : {
"url" : "https://github.com/Mattshark89/OpenFlight-VRC/issues"
Expand Down
6 changes: 0 additions & 6 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{
"dependencies": {
"com.cyan.playerobjectpool": {
"version": "file:com.cyan.playerobjectpool",
"depth": 0,
"source": "embedded",
"dependencies": {}
},
"com.mattshark.openflight": {
"version": "file:com.mattshark.openflight",
"depth": 0,
Expand Down

0 comments on commit 85f882b

Please sign in to comment.