Skip to content

Commit fce62f3

Browse files
author
AJubrey
committed
[CHANGED] the if statement to be simpler
1 parent 31a75c7 commit fce62f3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -981,12 +981,8 @@ public int ExportAll (IEnumerable<UnityEngine.Object> unityExportSet)
981981

982982
// Initialize the exporter.
983983
// fileFormat must be binary if we are embedding textures
984-
int fileFormat;
985-
if (EditorTools.ExportSettings.instance.ExportInBinary)
986-
{
987-
fileFormat = -1;
988-
}
989-
else
984+
int fileFormat = -1;
985+
if (!EditorTools.ExportSettings.instance.ExportInBinary)
990986
{
991987
fileFormat = fbxManager.GetIOPluginRegistry().FindWriterIDByDescription("FBX ascii (*.fbx)");
992988
}

0 commit comments

Comments
 (0)