Skip to content

Commit

Permalink
🍸 0.9.0
Browse files Browse the repository at this point in the history
+ CHANGE: Minimum unity version is 2019.3
+ CHANGE: Warning will shown on unreadable mesh
+ FIX: Obsolete warning about prefab API in 2019.3
+ FIX: IndexOutOfRangeException by @Riskjockey
  • Loading branch information
willnode committed May 29, 2022
1 parent 47d58e0 commit 286407d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
/[Bb]uild/
/[Bb]uilds/
/Assets/AssetStoreTools*
/Assets/ExampleAssets*


# Visual Studio 2015 cache directory
/.vs/
Expand Down
2 changes: 1 addition & 1 deletion Assets/Plugins/MeshDebugger/Editor/MeshDebugger_GUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void OnGUI()
{
EditorGUILayout.Space();
if (m_Mesh)
EditorGUILayout.HelpBox(m_cpu.m_Features, MessageType.Info);
EditorGUILayout.HelpBox(m_Mesh.isReadable ? m_cpu.m_Features : "Mesh is not readable", m_Mesh.isReadable ? MessageType.Info : MessageType.Warning);
if (!m_UseHeatmap && (m_DebugVert != DebugVertice.None || m_DebugTris != DebugTriangle.None) && !IsSafeToDrawGUI())
EditorGUILayout.HelpBox("Verts / Triangle count are too large to be displayed with GUI index rendering.\nConsider set smaller section or enable Heatmap instead.", MessageType.Warning);
}
Expand Down
2 changes: 1 addition & 1 deletion Assets/Plugins/MeshDebugger/Readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Thanks for using my plugin!

MeshDebugger - 0.8.0 - Shared with ❤ - © Wildan Mubarok 2018 under MIT License.
MeshDebugger - 0.9.0 - Shared with ❤ - © Wildan Mubarok 2018 under MIT License.
To begin inspecting a mesh, just navigate to Window -> Mesh Debugger in menu bar then select an object.
See https://github.com/willnode/MeshDebugger/blob/master/INSTRUCTIONS.md for more instructions about using this plugin.
6 changes: 4 additions & 2 deletions INSTRUCTIONS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Manual (v0.7.x)
# Manual (v0.9.x)

After importing the plugin to your project, you can open Mesh Debugger window to start inspecting any selected object.

Expand All @@ -10,6 +10,8 @@ After importing the plugin to your project, you can open Mesh Debugger window to

The first row shows which object and mesh that currently being inspected. It will be automatically updated to active (selected) object in the scene, then looking for a Mesh containing in either `MeshFilter` (3D), `SkinnedMeshRenderer` (as Static Snapshot) or `Graphic` (UI).

Note that to be able to inspect a mesh, you need to make sure that the [mesh is readable](https://docs.unity3d.com/Manual/class-Mesh.html#:~:text=and%20Z%20directions.-,Read/Write%20Enabled,-The%20value%20of).

> Until this version you can't lock the selected mesh and there's no plan for supporting multiple inspection in the same time.
## Configurations
Expand Down Expand Up @@ -54,6 +56,6 @@ Heatmap is used displaying scalar values like vertex index.

## Mesh Features Info

In near bottom in the Window there are read-only statistics about the inspected mesh including vertex count, indices, vertex channels, and many more.
In near bottom in the Window there are read-only statistics about the inspected mesh including vertex count, indices, vertex channels, and many more.

We also open to discuss about what's info else should be included here.
1 change: 1 addition & 0 deletions ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
m_EditorVersion: 2019.3.0f6
m_EditorVersionWithRevision: 2019.3.0f6 (27ab2135bccf)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# MeshDebugger v0.8
# MeshDebugger v0.9

![Screenshot](Screenshots/Demo.png)

MeshDebugger is an editor tool to visually inspect a mesh. Very helpful if you want to debug your procedurally generated mesh or inspecting ideal parts of your model.

## Download + Manual

**Download the plugin via [Releases](/willnode/meshdebugger/releases) or [Asset Store](//u3d.as/Qsd)**.
**Download the plugin via [Releases](https://github.com/willnode/MeshDebugger/releases/latest) or [Asset Store](//u3d.as/Qsd)**.

See **[Usage Instruction Here](INSTRUCTIONS.md)**.

Expand Down

0 comments on commit 286407d

Please sign in to comment.