Skip to content

Commit fa96cc5

Browse files
committed
v1.1.2 Removed TrackNodeColors
- Removed TrackNodeColors. It was code leftover for legacy reasons, but it's only usable if you know how to edit the json manually. Removed due to Newtonsoft json causing error problems.
1 parent 5168429 commit fa96cc5

4 files changed

Lines changed: 1 addition & 420 deletions

File tree

EditorExpanded/EditorExpanded.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@
4141
<Reference Include="BepInEx">
4242
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Distance\BepInEx\core\BepInEx.dll</HintPath>
4343
</Reference>
44-
<Reference Include="Newtonsoft.Json">
45-
<HintPath>..\packages\Newtonsoft.Json.Unity\Newtonsoft.Json.dll</HintPath>
46-
</Reference>
4744
<Reference Include="System" />
4845
<Reference Include="System.Core" />
4946
<Reference Include="System.Xml.Linq" />
@@ -138,7 +135,6 @@
138135
<Compile Include="Patches\Assembly-CSharp\StuntBubbleLogic\Awake.cs" />
139136
<Compile Include="Patches\Assembly-CSharp\StuntCollectibleLogic\Awake.cs" />
140137
<Compile Include="Patches\Assembly-CSharp\ToolInputCombos\Load.cs" />
141-
<Compile Include="Patches\Assembly-CSharp\TrackManipulatorNode\SetColorAndMesh.cs" />
142138
<Compile Include="Patches\Assembly-CSharp\TransformWrapper\Visit.cs" />
143139
<Compile Include="Patches\Assembly-CSharp\UIExGenericNumericInput\ConvertStringToValue.cs" />
144140
<Compile Include="Patches\Assembly-CSharp\UIExGenericNumericInput\Max.cs" />
@@ -148,7 +144,6 @@
148144
<Compile Include="Patches\Assembly-CSharp\LevelEditorTools\UngroupTool\Run.cs" />
149145
<Compile Include="Plugin.cs" />
150146
<Compile Include="Properties\AssemblyInfo.cs" />
151-
<Compile Include="TrackNodeColors.cs" />
152147
<Compile Include="TypeExportManager.cs" />
153148
</ItemGroup>
154149
<ItemGroup>

EditorExpanded/Patches/Assembly-CSharp/TrackManipulatorNode/SetColorAndMesh.cs

Lines changed: 0 additions & 47 deletions
This file was deleted.

EditorExpanded/Plugin.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Mod : BaseUnityPlugin
1414
//Mod Details
1515
private const string modGUID = "Distance.EditorExpanded";
1616
private const string modName = "Editor Expanded";
17-
private const string modVersion = "1.1.0";
17+
private const string modVersion = "1.1.2";
1818

1919
//Config Entry Strings
2020
public static string DevFolderKey = "Enable Dev Folder";
@@ -63,7 +63,6 @@ public static bool IsCommandLineSwitchPresent(string item)
6363
{
6464
return Environment.GetCommandLineArgs().Select(arg => arg.ToLower()).Contains(item);
6565
}
66-
public TrackNodeColors TrackNodeColors { get; set; }
6766

6867
//Other
6968
private static readonly Harmony harmony = new Harmony(modGUID);
@@ -80,9 +79,6 @@ private void Awake()
8079
Log = BepInEx.Logging.Logger.CreateLogSource(modGUID);
8180
Logger.LogInfo("Thanks for using Editor Expanded!");
8281

83-
TrackNodeColors = TrackNodeColors.FromSettings("SplineColors.json");
84-
TrackNodeColors.OnFileReloaded += ReloadTrackNodeColors;
85-
8682
RegisterExportedTypes();
8783

8884
//Config Setup

0 commit comments

Comments
 (0)