Skip to content

Commit d1bcc08

Browse files
alexismorinvkovec
authored andcommitted
Added small fix (#510)
verify a null inside IsEditorClip (cherry picked from commit 1a17eaf)
1 parent 108a936 commit d1bcc08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

com.unity.formats.fbx/Editor/FbxExporter.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3680,6 +3680,9 @@ static bool ValidateOnClipContextClick()
36803680

36813681
internal static bool IsEditorClip(object obj)
36823682
{
3683+
if (obj == null)
3684+
return false;
3685+
36833686
return obj.GetType().Name.Contains("EditorClip");
36843687
}
36853688

0 commit comments

Comments
 (0)