Compare commits

..

2 Commits

Author SHA1 Message Date
Takashi Sakai 0c2a515abc Export 1.4.2 2018-01-15 01:39:03 +09:00
Takashi Sakai 2c7df2a749 Fixed: Error has occur on after deserialize. 2018-01-15 01:34:20 +09:00
3 changed files with 8 additions and 0 deletions
+4
View File
@@ -98,6 +98,10 @@ Please enable `TexCoord1` to use UIEffect.
## Release Notes
### ver.1.4.2
* Fixed: Error has occur on after deserialize.
### ver.1.4.1
* Fixed: Demo link in `readme.md` is broken.
+4
View File
@@ -329,8 +329,12 @@ namespace UnityEngine.UI
public void OnAfterDeserialize()
{
var obj = this;
EditorApplication.delayCall += () =>
{
if (!obj)
return;
var old = m_EffectMaterial;
m_EffectMaterial = GetMaterial(Shader.Find(shaderName), toneMode, colorMode, blurMode);
if (old != m_EffectMaterial)
Binary file not shown.