Skip to content

Commit ad88fcf

Browse files
committed
FDG fix - remove unused param
1 parent 9716967 commit ad88fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3151,7 +3151,7 @@ internal static IExportData GetExportData(GameObject go, IExportOptions exportOp
31513151
/// This function exports the other components and animation.
31523152
/// </summary>
31533153
[SecurityPermission(SecurityAction.LinkDemand)]
3154-
private bool ExportComponents(FbxScene fbxScene, bool exportAnim = true)
3154+
private bool ExportComponents(FbxScene fbxScene)
31553155
{
31563156
var animationNodes = new HashSet<GameObject> ();
31573157

@@ -3503,7 +3503,7 @@ internal int ExportAll (
35033503
}
35043504

35053505
if(!animOnly){
3506-
if(!ExportComponents(fbxScene, ExportOptions.ModelAnimIncludeOption != ExportSettings.Include.Model)){
3506+
if(!ExportComponents(fbxScene)){
35073507
Debug.LogWarning ("Export Cancelled");
35083508
return 0;
35093509
}

0 commit comments

Comments
 (0)