Skip to content

Commit

Permalink
fix so use of CanInstall() reflects function name
Browse files Browse the repository at this point in the history
  • Loading branch information
vkovec committed Dec 1, 2017
1 parent 4f9208d commit 9d0d142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/FbxExporters/Editor/FbxExportSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public override void OnInspectorGUI() {
EditorGUILayout.Space();

// disable button if no 3D application is available
EditorGUI.BeginDisabledGroup (ExportSettings.CanInstall()? true : false);
EditorGUI.BeginDisabledGroup (!ExportSettings.CanInstall());
var installIntegrationContent = new GUIContent(
"Install Unity Integration",
"Install and configure the Unity integration for the selected 3D application so that you can import and export directly with this project.");
Expand Down Expand Up @@ -739,7 +739,7 @@ public static string GetSelectedDCCName()

public static bool CanInstall()
{
return instance.dccOptionPaths.Count <= 0;
return instance.dccOptionPaths.Count > 0;
}

/// <summary>
Expand Down

0 comments on commit 9d0d142

Please sign in to comment.