Skip to content

Commit 42a5ff1

Browse files
committed
remove unused code path
1 parent 9573c72 commit 42a5ff1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3544,15 +3544,10 @@ internal static bool IsEditorClip(object obj)
35443544
return obj.GetType().Name.Contains("EditorClip");
35453545
}
35463546

3547-
internal static void ExportSingleTimelineClip(Object editorClipSelected, string filePath = null)
3547+
internal static void ExportSingleTimelineClip(Object editorClipSelected)
35483548
{
35493549
UnityEngine.Object[] exportArray = new UnityEngine.Object[] { editorClipSelected };
35503550

3551-
if (!string.IsNullOrEmpty (filePath)) {
3552-
ExportObjects (filePath, exportArray);
3553-
return;
3554-
}
3555-
35563551
ExportModelEditorWindow.Init (exportArray, AnimationOnlyExportData.GetFileName(editorClipSelected), isTimelineAnim: true);
35573552
}
35583553

0 commit comments

Comments
 (0)