@@ -154,7 +154,7 @@ private static void WriteFile(string FileName, List<string> Lines )
154
154
}
155
155
}
156
156
157
- public static bool InstallMaya ( string version , bool verbose = true , bool headless = false )
157
+ public static bool InstallMaya ( string version , bool verbose = true )
158
158
{
159
159
// check if package installed
160
160
string moduleTemplatePath = GetModuleTemplatePath ( version ) ;
@@ -165,10 +165,6 @@ public static bool InstallMaya(string version, bool verbose=true, bool headless=
165
165
return false ;
166
166
}
167
167
168
- // TODO: detect maya2017 installation
169
-
170
- // TODO: if not maya2017 installed warn user
171
-
172
168
// check for {USER} modules folder
173
169
string modulePath = GetModulePath ( version ) ;
174
170
@@ -248,11 +244,6 @@ public static bool InstallMaya(string version, bool verbose=true, bool headless=
248
244
// TODO: print message package already installed else where
249
245
}
250
246
251
- if ( headless )
252
- throw new NotImplementedException ( ) ;
253
-
254
- // TODO: configure maya to auto-load plugin on next startup
255
-
256
247
return true ;
257
248
}
258
249
@@ -270,21 +261,6 @@ public static void InstallMaya2017()
270
261
if ( verbose ) Debug . Log ( string . Format ( "Failed to install Maya {0} Integration." , version ) ) ;
271
262
}
272
263
}
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
- }
288
264
}
289
265
290
266
namespace Editors
0 commit comments