Skip to content

Commit 39a2cf5

Browse files
committed
clean code
1 parent fd19d80 commit 39a2cf5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,11 @@ public static bool InstallMaya(string version, bool verbose=true)
250250
public static void InstallMaya2017()
251251
{
252252
const bool verbose = true;
253-
const bool headless = false;
254253
const string version = Integrations.MAYA_VERSION;
255254

256255
Debug.Log(string.Format("Installing Maya {0} Integration", version));
257256

258-
if (InstallMaya (version, verbose, headless)) {
257+
if (InstallMaya (version, verbose)) {
259258
if (verbose) Debug.Log (string.Format ("Completed installation of Maya {0} Integration.", version));
260259
} else {
261260
if (verbose) Debug.Log (string.Format ("Failed to install Maya {0} Integration.", version));
@@ -272,7 +271,7 @@ class IntegrationsUI
272271
[MenuItem (MenuItemName, false, 0)]
273272
public static void OnMenuItem ()
274273
{
275-
if (Integrations.InstallMaya(Integrations.MAYA_VERSION, true, false))
274+
if (Integrations.InstallMaya(Integrations.MAYA_VERSION))
276275
{
277276
string title = string.Format("Completed installation of Maya {0} Integration.", Integrations.MAYA_VERSION);
278277
string message = "Please run the following MEL commands to configure auto-loading of the plugin in Maya.\n\nloadPlugin unityOneClickPlugin; pluginInfo -edit -autoload true unityOneClickPlugin;\n";

0 commit comments

Comments
 (0)