Merge pull request #443 from adibacco/patch-1

Update UILineRenderer.cs
pull/444/head^2
Simon (Darkside) Jackson 2023-07-22 16:10:26 +01:00 committed by GitHub
commit 0a424334e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ namespace UnityEngine.UI.Extensions
PopulateMesh (vh, m_points); PopulateMesh (vh, m_points);
} }
else if (m_segments != null && m_segments.Count > 0) { if (m_segments != null && m_segments.Count > 0) {
GeneratedUVs (); GeneratedUVs ();
vh.Clear (); vh.Clear ();
@ -480,4 +480,4 @@ namespace UnityEngine.UI.Extensions
} }
} }
} }
} }