Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions BaseHandlers/BaseHandlers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<ProjectReference Include="..\PluginAPI\PluginAPI.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="DebugHelper" Version="1.1.0" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.12" />
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion BaseHandlers/InstanceListEditor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using BundleFormat;
using BundleUtilities;
using DebugHelper;
using ModelViewer;
using ModelViewer.SceneData;
using PluginAPI;
Expand Down Expand Up @@ -237,7 +238,7 @@ private void RenderToolStripMenuItem_Click(object sender, EventArgs e)

private void DebugToolStripMenuItem_Click(object sender, EventArgs e)
{

DebugUtil.ShowDebug(this, InstanceList);
}

private void LstMain_SizeChanged(object sender, EventArgs e)
Expand Down
1 change: 1 addition & 0 deletions BundleManager/BundleManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<Content Include="icon.ico" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="DebugHelper" Version="1.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="ScottPlot.WinForms" Version="5.1.58" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.12" />
Expand Down
7 changes: 7 additions & 0 deletions BundleManager/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.Windows.Forms;
using BundleFormat;
using BundleUtilities;
using DebugHelper;
using PluginAPI;

namespace BundleManager
Expand Down Expand Up @@ -442,9 +443,15 @@ public void EditEntry(int index, bool forceHex = false, bool forceDebug = false)
else
{
loader.Hide();
if (forceDebug)
{
DebugUtil.ShowDebug(this, data);
}
IEntryEditor editor = data.GetEditor(entry);
if (editor != null)
editor.ShowDialog(this);
else
DebugUtil.ShowDebug(this, data);
if (ForceOnlySpecificEntry)
Environment.Exit(0);
}
Expand Down
4 changes: 3 additions & 1 deletion WorldCollisionHandler/WorldColEditor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using BundleUtilities;
using DebugHelper;
using PluginAPI;
using System;
using System.ComponentModel;
Expand Down Expand Up @@ -84,7 +85,8 @@ private void closeToolStripMenuItem_Click(object sender, EventArgs e)

private void debugInfoToolStripMenuItem_Click(object sender, EventArgs e)
{

if (_poly != null)
DebugUtil.ShowDebug(this, _poly);
}

private void removeWreckSurfacesToolStripMenuItem_Click(object sender, EventArgs e)
Expand Down
1 change: 1 addition & 0 deletions WorldCollisionHandler/WorldCollisionHandler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<ProjectReference Include="..\PluginAPI\PluginAPI.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="DebugHelper" Version="1.1.0" />
<PackageReference Include="OpenTK" Version="4.9.4" />
</ItemGroup>
</Project>