diff --git a/Assets/FbxExporters/Editor/FbxExportSettings.cs b/Assets/FbxExporters/Editor/FbxExportSettings.cs index 7171c11c1..3ca48a30f 100644 --- a/Assets/FbxExporters/Editor/FbxExportSettings.cs +++ b/Assets/FbxExporters/Editor/FbxExportSettings.cs @@ -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."); @@ -739,7 +739,7 @@ public static string GetSelectedDCCName() public static bool CanInstall() { - return instance.dccOptionPaths.Count <= 0; + return instance.dccOptionPaths.Count > 0; } ///