@@ -330,10 +330,10 @@ public static string[] DCCVendorLocations {
330
330
}
331
331
332
332
// Note: default values are set in LoadDefaults().
333
- public bool mayaCompatibleNames ;
334
- public bool centerObjects ;
335
- public bool launchAfterInstallation ;
336
- public bool HideSendToUnityMenu ;
333
+ public bool mayaCompatibleNames = true ;
334
+ public bool centerObjects = true ;
335
+ public bool launchAfterInstallation = true ;
336
+ public bool HideSendToUnityMenu = true ;
337
337
public int ExportFormatSelection ;
338
338
339
339
public string IntegrationSavePath ;
@@ -1024,7 +1024,6 @@ protected virtual void Load()
1024
1024
try {
1025
1025
var fileData = System . IO . File . ReadAllText ( filePath ) ;
1026
1026
EditorJsonUtility . FromJsonOverwrite ( fileData , s_Instance ) ;
1027
- checkForNewVariables ( fileData ) ;
1028
1027
} catch ( Exception xcp ) {
1029
1028
// Quash the exception and take the default settings.
1030
1029
Debug . LogException ( xcp ) ;
@@ -1033,19 +1032,6 @@ protected virtual void Load()
1033
1032
}
1034
1033
}
1035
1034
1036
- /// <summary>
1037
- /// Check the FBXSettings for any variables we don't know about yet. (in case we are using a new version of the importer)
1038
- /// We'll want to update this with any new significant UI options.
1039
- /// </summary>
1040
- /// <param name="FileData"></param>
1041
- private void checkForNewVariables ( string FileData )
1042
- {
1043
- if ( ! FileData . Contains ( "HideSendToUnityMenu" ) )
1044
- {
1045
- ExportSettings . instance . HideSendToUnityMenu = true ;
1046
- }
1047
- }
1048
-
1049
1035
protected virtual void Save ( bool saveAsText )
1050
1036
{
1051
1037
if ( s_Instance == null )
0 commit comments