@@ -281,8 +281,6 @@ private static string GetMayaLocationFromEnvironmentVariable(string env)
281
281
{
282
282
//We can assume our path is: /Applications/Autodesk/maya2017/Maya.app/Contents
283
283
//So we need to go up three folders.
284
- Debug . Log ( string . Format ( "parsing location {0}" , location ) ) ;
285
-
286
284
287
285
var appFolder = Directory . GetParent ( location ) ;
288
286
if ( appFolder != null )
@@ -478,8 +476,6 @@ public int GetPreferredDCCApp()
478
476
479
477
for ( int i = 0 ; i < dccOptionNames . Count ; i ++ )
480
478
{
481
- Debug . Log ( string . Format ( "check name for version : {0}" , dccOptionNames [ i ] ) ) ;
482
-
483
479
int versionToCheck = FindDCCVersion ( dccOptionNames [ i ] ) ;
484
480
if ( versionToCheck == - 1 )
485
481
{
@@ -504,8 +500,7 @@ public int GetPreferredDCCApp()
504
500
}
505
501
}
506
502
507
- Debug . Log ( string . Format ( "found index : {0} {1}" , result , dccOptionNames . Count ) ) ;
508
- Debug . Assert ( result > - 1 && result < dccOptionNames . Count ) ;
503
+ //Debug.Assert(result > -1 && result < dccOptionNames.Count);
509
504
510
505
return result ;
511
506
}
@@ -590,8 +585,6 @@ private static void FindDCCInstalls() {
590
585
// find dcc installation from vendor locations
591
586
for ( int i = 0 ; i < DCCVendorLocations . Length ; i ++ )
592
587
{
593
- Debug . Log ( "checking vendor location for installs " + DCCVendorLocations [ i ] ) ;
594
-
595
588
if ( ! Directory . Exists ( DCCVendorLocations [ i ] ) )
596
589
{
597
590
// no autodesk products installed
@@ -602,8 +595,6 @@ private static void FindDCCInstalls() {
602
595
var adskRoot = new System . IO . DirectoryInfo ( DCCVendorLocations [ i ] ) ;
603
596
foreach ( var productDir in adskRoot . GetDirectories ( ) )
604
597
{
605
- Debug . Log ( "product " + productDir . FullName ) ;
606
-
607
598
var product = productDir . Name ;
608
599
609
600
// Only accept those that start with 'maya' in either case.
0 commit comments