Skip to content

Commit

Permalink
Removed avatar upload hider. It was causing errors and isn't needed a…
Browse files Browse the repository at this point in the history
…nymore.
  • Loading branch information
rurre committed Dec 11, 2023
1 parent 1c6c51c commit f206042
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 157 deletions.
8 changes: 0 additions & 8 deletions Editor/Callbacks.meta

This file was deleted.

118 changes: 0 additions & 118 deletions Editor/Callbacks/AvatarUploadHider.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Editor/Callbacks/AvatarUploadHider.cs.meta

This file was deleted.

4 changes: 0 additions & 4 deletions Editor/PumkinsAvatarTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.IO;
using UnityEngine;
using System.Linq;
using Pumkin.AvatarTools.Callbacks;
using Pumkin.AvatarTools.Copiers;
using Pumkin.AvatarTools.Destroyers;
using Pumkin.DependencyChecker;
Expand Down Expand Up @@ -827,9 +826,6 @@ public void HandleOnEnable()

LoadPrefs();

#if VRC_SDK_VRCSDK3 && !UDON
AvatarUploadHider.Enabled = Settings.shouldHideOtherAvatars;
#endif
RestoreTexturesFromPaths();
RefreshBackgroundOverrideType();

Expand Down
14 changes: 0 additions & 14 deletions Editor/PumkinsAvatarTools_UI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.IO;
using UnityEngine;
using System.Linq;
using Pumkin.AvatarTools.Callbacks;
using Pumkin.AvatarTools.Copiers;
using Pumkin.PoseEditor;
using UnityEngine.UI;
Expand Down Expand Up @@ -1622,19 +1621,6 @@ void DrawThumbnailsMenuGUI()
{
Helpers.DrawGUILine();

#if VRC_SDK_VRCSDK3 && !UDON
EditorGUI.BeginChangeCheck();
{
Settings.shouldHideOtherAvatars = GUILayout.Toggle(Settings.shouldHideOtherAvatars, Strings.Thumbnails.hideOtherAvatars);
}
if(EditorGUI.EndChangeCheck())
{
AvatarUploadHider.Enabled = Settings.shouldHideOtherAvatars;
}
#endif

Helpers.DrawGUILine();

EditorGUI.BeginChangeCheck();
{
Settings._presetToolbarSelectedIndex = GUILayout.Toolbar(Settings._presetToolbarSelectedIndex, new string[] { Strings.Thumbnails.cameras, Strings.Thumbnails.poses, Strings.Thumbnails.blendshapes }, Styles.ToolbarBigButtons);
Expand Down
1 change: 0 additions & 1 deletion Editor/PumkinsAvatarTools_UtilityFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.IO;
using UnityEngine;
using System.Linq;
using Pumkin.AvatarTools.Callbacks;
using Pumkin.AvatarTools.Copiers;
using Pumkin.AvatarTools.Destroyers;
using Pumkin.DependencyChecker;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "io.github.rurre.pumkinsavatartools",
"displayName": "Pumkins Avatar Tools",
"version": "1.4.0",
"version": "1.4.1",
"description": "An editor script that adds tools to help you setup avatars faster and easier. It includes a component copier that makes it a lot easier to reimport your avatars, and tools to make your thumbnails nicer.",
"url": "https://github.com/rurre/PumkinsAvatarTools",
"author": {
Expand Down

0 comments on commit f206042

Please sign in to comment.