Merged in sushanta1991/unity-ui-extensions-2/sushanta1991/-onpopulatemesh-was-getting-called-befor-1480940993474 (pull request #31)

// OnPopulateMesh() was getting called before m_OutputText was updated in function UpdateQuadImage(), Due to this, m_HrefInfos.boxes where not getting created, which in further resulted into non clickable text. This is happening in Unity5.5.

--HG--
branch : develop_5.3
pull/413/head
Simon Jackson 2016-12-21 19:09:24 +00:00
commit 32d8a82e05
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ namespace UnityEngine.UI.Extensions
protected override void OnPopulateMesh(VertexHelper toFill)
{
var orignText = m_Text;
m_Text = m_OutputText;
m_Text = GetOutputText();
base.OnPopulateMesh(toFill);
m_Text = orignText;
positions.Clear();