Skip to content

Commit

Permalink
added null protection
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonm-unity committed Aug 22, 2017
1 parent b9e3b48 commit c308cb5
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -17,7 +17,8 @@ public AlembicStreamPlayer streamPlayer
set
{
m_StreamPlayer = value;
m_StreamPlayer.m_ManualUpdateMode = true;
if( m_StreamPlayer != null )
m_StreamPlayer.m_ManualUpdateMode = true;
}
}

Expand Down

0 comments on commit c308cb5

Please sign in to comment.