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);
|
||||
|
||||
}
|
||||
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
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue