Skip to content

Commit 286407d

Browse files
committed
🍸 0.9.0
+ 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
1 parent 47d58e0 commit 286407d

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
/[Bb]uild/
55
/[Bb]uilds/
66
/Assets/AssetStoreTools*
7+
/Assets/ExampleAssets*
8+
79

810
# Visual Studio 2015 cache directory
911
/.vs/

Assets/Plugins/MeshDebugger/Editor/MeshDebugger_GUI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void OnGUI()
160160
{
161161
EditorGUILayout.Space();
162162
if (m_Mesh)
163-
EditorGUILayout.HelpBox(m_cpu.m_Features, MessageType.Info);
163+
EditorGUILayout.HelpBox(m_Mesh.isReadable ? m_cpu.m_Features : "Mesh is not readable", m_Mesh.isReadable ? MessageType.Info : MessageType.Warning);
164164
if (!m_UseHeatmap && (m_DebugVert != DebugVertice.None || m_DebugTris != DebugTriangle.None) && !IsSafeToDrawGUI())
165165
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);
166166
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Thanks for using my plugin!
22

3-
MeshDebugger - 0.8.0 - Shared with ❤ - © Wildan Mubarok 2018 under MIT License.
3+
MeshDebugger - 0.9.0 - Shared with ❤ - © Wildan Mubarok 2018 under MIT License.
44
To begin inspecting a mesh, just navigate to Window -> Mesh Debugger in menu bar then select an object.
55
See https://github.com/willnode/MeshDebugger/blob/master/INSTRUCTIONS.md for more instructions about using this plugin.

INSTRUCTIONS.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Manual (v0.7.x)
1+
# Manual (v0.9.x)
22

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

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

1111
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).
1212

13+
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).
14+
1315
> Until this version you can't lock the selected mesh and there's no plan for supporting multiple inspection in the same time.
1416
1517
## Configurations
@@ -54,6 +56,6 @@ Heatmap is used displaying scalar values like vertex index.
5456

5557
## Mesh Features Info
5658

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

5961
We also open to discuss about what's info else should be included here.

ProjectSettings/ProjectVersion.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
m_EditorVersion: 2019.3.0f6
2+
m_EditorVersionWithRevision: 2019.3.0f6 (27ab2135bccf)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# MeshDebugger v0.8
1+
# MeshDebugger v0.9
22

33
![Screenshot](Screenshots/Demo.png)
44

55
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.
66

77
## Download + Manual
88

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

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

0 commit comments

Comments
 (0)