Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit a1c9001

Browse files
committed
"Fix" weird editor error with cinemachine
WIll have to look into why this fails in the first place
1 parent 602774b commit a1c9001

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

PostProcessing/Editor/EffectListEditor.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ public void Clear()
126126

127127
public void OnGUI()
128128
{
129+
if (m_Asset == null)
130+
return;
131+
129132
if (m_Asset.isDirty)
130133
{
131134
RefreshEditors();

0 commit comments

Comments
 (0)