Skip to content

Commit 1a17eaf

Browse files
authored
Added small fix (#510)
verify a null inside IsEditorClip
1 parent a9ce452 commit 1a17eaf

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
@@ -3640,6 +3640,9 @@ static bool ValidateOnClipContextClick()
36403640

36413641
internal static bool IsEditorClip(object obj)
36423642
{
3643+
if (obj == null)
3644+
return false;
3645+
36433646
return obj.GetType().Name.Contains("EditorClip");
36443647
}
36453648

0 commit comments

Comments
 (0)