@@ -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 commandsOnly = false )
157
+ public static bool InstallMaya ( string version , bool verbose = true , bool headless = false )
158
158
{
159
159
// check if package installed
160
160
string moduleTemplatePath = GetModuleTemplatePath ( version ) ;
@@ -248,7 +248,7 @@ public static bool InstallMaya(string version, bool verbose=true, bool commandsO
248
248
// TODO: print message package already installed else where
249
249
}
250
250
251
- if ( commandsOnly )
251
+ if ( headless )
252
252
throw new NotImplementedException ( ) ;
253
253
254
254
// TODO: configure maya to auto-load plugin on next startup
@@ -259,30 +259,30 @@ public static bool InstallMaya(string version, bool verbose=true, bool commandsO
259
259
public static void InstallMaya2017 ( )
260
260
{
261
261
const bool verbose = true ;
262
- const bool commandsOnly = false ;
262
+ const bool headless = false ;
263
263
const string version = Integrations . MAYA_VERSION ;
264
264
265
265
Debug . Log ( string . Format ( "Installing Maya {0} Integration" , version ) ) ;
266
266
267
- if ( InstallMaya ( version , verbose , commandsOnly ) ) {
267
+ if ( InstallMaya ( version , verbose , headless ) ) {
268
268
if ( verbose ) Debug . Log ( string . Format ( "Completed installation of Maya {0} Integration." , version ) ) ;
269
269
} else {
270
270
if ( verbose ) Debug . Log ( string . Format ( "Failed to install Maya {0} Integration." , version ) ) ;
271
271
}
272
272
}
273
273
274
- public static void InstallMaya2017CommandsOnly ( )
274
+ public static void InstallMaya2017Headless ( )
275
275
{
276
276
const bool verbose = true ;
277
- const bool commandsOnly = true ;
277
+ const bool headless = true ;
278
278
const string version = Integrations . MAYA_VERSION ;
279
279
280
- Debug . Log ( string . Format ( "Installing Maya {0} Integration (Commands Only )." , version ) ) ;
280
+ Debug . Log ( string . Format ( "Installing Maya {0} Integration (Headless )." , version ) ) ;
281
281
282
- if ( InstallMaya ( version , verbose , commandsOnly ) ) {
283
- if ( verbose ) Debug . Log ( string . Format ( "Completed installation of Maya {0} Integration (Commands Only )." , version ) ) ;
282
+ if ( InstallMaya ( version , verbose , headless ) ) {
283
+ if ( verbose ) Debug . Log ( string . Format ( "Completed installation of Maya {0} Integration (Headless )." , version ) ) ;
284
284
} else {
285
- if ( verbose ) Debug . Log ( string . Format ( "Failed to install Maya {0} Integration (Commands Only )." , version ) ) ;
285
+ if ( verbose ) Debug . Log ( string . Format ( "Failed to install Maya {0} Integration (Headless )." , version ) ) ;
286
286
}
287
287
}
288
288
}
0 commit comments