@@ -285,16 +285,12 @@ private static string GetMayaLocationFromEnvironmentVariable(string env)
285
285
var appFolder = Directory . GetParent ( location ) ;
286
286
if ( appFolder != null )
287
287
{
288
- Debug . Log ( string . Format ( "parsing appFolder {0}" , appFolder . ToString ( ) ) ) ;
289
288
var versionFolder = Directory . GetParent ( appFolder . ToString ( ) ) ;
290
289
if ( versionFolder != null )
291
290
{
292
291
var autoDeskFolder = Directory . GetParent ( versionFolder . ToString ( ) ) ;
293
- Debug . Log ( string . Format ( "parsing versionFolder {0}" , versionFolder . ToString ( ) ) ) ;
294
292
if ( autoDeskFolder != null )
295
293
{
296
- Debug . Log ( string . Format ( "return autoDeskFolder {0}" , autoDeskFolder . ToString ( ) ) ) ;
297
-
298
294
result = autoDeskFolder . ToString ( ) ;
299
295
}
300
296
}
@@ -363,7 +359,7 @@ public static string[] DCCVendorLocations
363
359
364
360
return result . ToArray < string > ( ) ;
365
361
}
366
- }
362
+ }
367
363
368
364
// Note: default values are set in LoadDefaults().
369
365
public bool mayaCompatibleNames = true ;
@@ -505,8 +501,6 @@ public int GetPreferredDCCApp()
505
501
}
506
502
}
507
503
508
- //Debug.Assert(result > -1 && result < dccOptionNames.Count);
509
-
510
504
return result ;
511
505
}
512
506
/// <summary>
@@ -686,11 +680,6 @@ private static string GetMayaExePathFromLocation(string location)
686
680
}
687
681
}
688
682
689
- public void SetDCCOptionPaths ( List < string > newList )
690
- {
691
- dccOptionPaths = newList ;
692
- }
693
-
694
683
public static GUIContent [ ] GetDCCOptions ( ) {
695
684
if ( instance . dccOptionNames == null ||
696
685
instance . dccOptionNames . Count != instance . dccOptionPaths . Count ||
0 commit comments