Skip to content

Commit 67c98f7

Browse files
committed
Creating a new branch for the auto-updater disabling
1 parent 5a9a823 commit 67c98f7

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ public override void OnInspectorGUI() {
5050
exportSettings.centerObjects
5151
);
5252

53-
exportSettings.autoUpdaterEnabled = EditorGUILayout.Toggle(
54-
new GUIContent("Auto-Updater:",
55-
"Automatically updates prefabs with new fbx data that was imported."),
56-
exportSettings.autoUpdaterEnabled
57-
);
58-
5953
GUILayout.BeginHorizontal();
6054
EditorGUILayout.LabelField(new GUIContent("Export Format:", "Export the FBX file in the standard binary format." +
6155
" Select ASCII to export the FBX file in ASCII format."), GUILayout.Width(LabelWidth - FieldOffset));
@@ -430,7 +424,6 @@ public static string[] DCCVendorLocations
430424
// Note: default values are set in LoadDefaults().
431425
public bool mayaCompatibleNames = true;
432426
public bool centerObjects = true;
433-
public bool autoUpdaterEnabled = true;
434427
public bool launchAfterInstallation = true;
435428
public bool HideSendToUnityMenu = true;
436429
public int ExportFormatSelection;
@@ -463,7 +456,6 @@ protected override void LoadDefaults()
463456
{
464457
mayaCompatibleNames = true;
465458
centerObjects = true;
466-
autoUpdaterEnabled = true;
467459
launchAfterInstallation = true;
468460
HideSendToUnityMenu = true;
469461
ExportFormatSelection = 0;

Assets/FbxExporters/Editor/FbxPrefabAutoUpdater.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@ public static bool MayHaveFbxPrefabToFbxAsset(string prefabPath,
8181

8282
static void OnPostprocessAllAssets(string [] imported, string [] deleted, string [] moved, string [] movedFrom)
8383
{
84-
// Do not start if Auto Updater is disabled in FBX Exporter Settings
85-
if (!FbxExporters.EditorTools.ExportSettings.instance.autoUpdaterEnabled)
86-
{
87-
return;
88-
}
89-
9084
//Debug.Log("Postprocessing...");
9185

9286
// Did we import an fbx file at all?

0 commit comments

Comments
 (0)