Skip to content

Commit a945160

Browse files
author
AJubrey
committed
[REMOVED] debug logs, empty spaces, and commented out code
[REMOVED] duplicated function
1 parent e1f5874 commit a945160

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -285,16 +285,12 @@ private static string GetMayaLocationFromEnvironmentVariable(string env)
285285
var appFolder = Directory.GetParent(location);
286286
if (appFolder != null)
287287
{
288-
Debug.Log(string.Format("parsing appFolder {0}",appFolder.ToString()));
289288
var versionFolder = Directory.GetParent(appFolder.ToString());
290289
if (versionFolder != null)
291290
{
292291
var autoDeskFolder = Directory.GetParent(versionFolder.ToString());
293-
Debug.Log(string.Format("parsing versionFolder {0}",versionFolder.ToString()));
294292
if (autoDeskFolder != null)
295293
{
296-
Debug.Log(string.Format("return autoDeskFolder {0}",autoDeskFolder.ToString()));
297-
298294
result = autoDeskFolder.ToString();
299295
}
300296
}
@@ -363,7 +359,7 @@ public static string[] DCCVendorLocations
363359

364360
return result.ToArray<string>();
365361
}
366-
}
362+
}
367363

368364
// Note: default values are set in LoadDefaults().
369365
public bool mayaCompatibleNames = true;
@@ -505,8 +501,6 @@ public int GetPreferredDCCApp()
505501
}
506502
}
507503

508-
//Debug.Assert(result > -1 && result < dccOptionNames.Count);
509-
510504
return result;
511505
}
512506
/// <summary>
@@ -686,11 +680,6 @@ private static string GetMayaExePathFromLocation(string location)
686680
}
687681
}
688682

689-
public void SetDCCOptionPaths(List<string> newList)
690-
{
691-
dccOptionPaths = newList;
692-
}
693-
694683
public static GUIContent[] GetDCCOptions(){
695684
if (instance.dccOptionNames == null ||
696685
instance.dccOptionNames.Count != instance.dccOptionPaths.Count ||

0 commit comments

Comments
 (0)