Update UILineRenderer.cs
There is no need to draw either points or segments. Both should be drawn.release
parent
d2b10980e3
commit
34e3f82395
|
@ -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 ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue