Skip to content

Commit 4dfc2c3

Browse files
authored
Merge pull request #471 from Unity-Technologies/UT-2155-undo-linked-prefab-update-path-changes
UT-2155 remove repair linked prefab functionality
2 parents 5ffd3ea + 3ffb5db commit 4dfc2c3

File tree

3 files changed

+0
-111
lines changed

3 files changed

+0
-111
lines changed

com.unity.formats.fbx/Editor/FbxExportSettings.cs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -170,26 +170,6 @@ public override void OnInspectorGUI() {
170170
Debug.LogFormat ("Failed to update the FbxPrefab components in the following files:\n{0}", string.Join ("\n", assetsToRepair));
171171
}
172172
}
173-
174-
var prefabUpdater = new RepairLinkedPrefabs();
175-
var prefabsToUpdateCount = prefabUpdater.AssetsToRepairCount;
176-
if (prefabsToUpdateCount > 0)
177-
{
178-
bool result = UnityEditor.EditorUtility.DisplayDialog("Linked Prefab Updater",
179-
string.Format("Found {0} prefab(s) requiring update. If you choose 'Go Ahead', " +
180-
"these Linked Prefabs will be converted to a new Prefab Variant and FBX file.", prefabsToUpdateCount),
181-
"Go Ahead", "No Thanks"
182-
);
183-
if (result)
184-
{
185-
prefabUpdater.ConvertLinkedPrefabs();
186-
}
187-
else
188-
{
189-
var prefabsToUpdate = prefabUpdater.AssetsToRepair;
190-
Debug.LogFormat("Failed to convert following Linked Prefab files:\n{0}", string.Join("\n", prefabsToUpdate));
191-
}
192-
}
193173
else
194174
{
195175
UnityEditor.EditorUtility.DisplayDialog(dialogTitle,

com.unity.formats.fbx/Editor/FbxExporterRepairLinkedPrefabs.cs

Lines changed: 0 additions & 80 deletions
This file was deleted.

com.unity.formats.fbx/Editor/FbxExporterRepairLinkedPrefabs.cs.meta

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)