Skip to content

Commit fd19d80

Browse files
committed
remove code
1 parent 0edfc10 commit fd19d80

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private static void WriteFile(string FileName, List<string> Lines )
154154
}
155155
}
156156

157-
public static bool InstallMaya(string version, bool verbose=true, bool headless=false)
157+
public static bool InstallMaya(string version, bool verbose=true)
158158
{
159159
// check if package installed
160160
string moduleTemplatePath = GetModuleTemplatePath(version);
@@ -165,10 +165,6 @@ public static bool InstallMaya(string version, bool verbose=true, bool headless=
165165
return false;
166166
}
167167

168-
// TODO: detect maya2017 installation
169-
170-
// TODO: if not maya2017 installed warn user
171-
172168
// check for {USER} modules folder
173169
string modulePath = GetModulePath(version);
174170

@@ -248,11 +244,6 @@ public static bool InstallMaya(string version, bool verbose=true, bool headless=
248244
// TODO: print message package already installed else where
249245
}
250246

251-
if (headless)
252-
throw new NotImplementedException();
253-
254-
// TODO: configure maya to auto-load plugin on next startup
255-
256247
return true;
257248
}
258249

@@ -270,21 +261,6 @@ public static void InstallMaya2017()
270261
if (verbose) Debug.Log (string.Format ("Failed to install Maya {0} Integration.", version));
271262
}
272263
}
273-
274-
public static void InstallMaya2017Headless ()
275-
{
276-
const bool verbose = true;
277-
const bool headless = true;
278-
const string version = Integrations.MAYA_VERSION;
279-
280-
Debug.Log (string.Format ("Installing Maya {0} Integration (Headless).", version));
281-
282-
if (InstallMaya (version, verbose, headless)) {
283-
if (verbose) Debug.Log (string.Format ("Completed installation of Maya {0} Integration (Headless).", version));
284-
} else {
285-
if (verbose) Debug.Log (string.Format ("Failed to install Maya {0} Integration (Headless).", version));
286-
}
287-
}
288264
}
289265

290266
namespace Editors

0 commit comments

Comments
 (0)