diff --git a/Editor/ClusterView.cs b/Editor/ClusterView.cs index 355b6e0..b6a73a2 100644 --- a/Editor/ClusterView.cs +++ b/Editor/ClusterView.cs @@ -750,13 +750,13 @@ namespace NanoBrain.Unity { Vector2 dir = to - from; float len = dir.magnitude; - if (len <= 2f * discRadius || len <= Mathf.Epsilon) + if (len <= Mathf.Epsilon) //len <= 2f * discRadius || ) // line too short return; Vector2 n = dir / len; // normalized - Vector2 a = from + n * discRadius; - Vector2 b = to - n * discRadius; + Vector2 a = from;// + n * discRadius; + Vector2 b = to;// - n * discRadius; Handles.DrawLine(a, b); }