diff --git a/Runtime/Scripts/Primitives/UILineRenderer.cs b/Runtime/Scripts/Primitives/UILineRenderer.cs index d3b5d3d..3e50eb8 100644 --- a/Runtime/Scripts/Primitives/UILineRenderer.cs +++ b/Runtime/Scripts/Primitives/UILineRenderer.cs @@ -287,7 +287,7 @@ namespace UnityEngine.UI.Extensions PopulateMesh (vh, m_points); } - else if (m_segments != null && m_segments.Count > 0) { + if (m_segments != null && m_segments.Count > 0) { GeneratedUVs (); vh.Clear (); @@ -480,4 +480,4 @@ namespace UnityEngine.UI.Extensions } } } -} \ No newline at end of file +}