We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b8e3a2 commit d334eb9Copy full SHA for d334eb9
1 file changed
game/addons/tools/Code/Scene/Mesh/MeshEdge.cs
@@ -32,11 +32,5 @@ public readonly PolygonMesh.EdgeSmoothMode EdgeSmoothing
32
}
33
34
public readonly override int GetHashCode() => HashCode.Combine( Component, nameof( MeshEdge ), Handle );
35
- public override readonly string ToString()
36
- {
37
- if ( !IsValid ) return "Invalid Edge";
38
-
39
- var objectName = Component.GameObject?.Name ?? "<no object>";
40
- return $"{objectName} Edge #{HandleIndex}";
41
- }
+ public override readonly string ToString() => IsValid ? $"{Component.GameObject.Name} Edge {Handle}" : "Invalid Edge";
42
0 commit comments