Skip to content

Commit cb5baad

Browse files
authored
Merge pull request #127 from Unity-Technologies/UNI-24629-hide-auto-update-checkbox
UNI-24629 remove autoupdate checkbox
2 parents bbbd093 + 99cbae8 commit cb5baad

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Assets/FbxExporters/Editor/FbxPrefabInspector.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ public override void OnInspectorGUI() {
1616
}
1717
EditorGUI.BeginDisabledGroup(isDisabled);
1818

19-
fbxPrefab.SetAutoUpdate(EditorGUILayout.Toggle ("Auto-update:", fbxPrefab.WantsAutoUpdate()));
20-
if (!isDisabled && !fbxPrefab.WantsAutoUpdate()) {
21-
if (GUILayout.Button("Sync prefab to FBX")) {
22-
fbxPrefab.SyncPrefab();
23-
}
24-
}
25-
2619
var oldFbxAsset = fbxPrefab.GetFbxAsset();
2720
var newFbxAsset = EditorGUILayout.ObjectField("Source Fbx Asset", oldFbxAsset,
2821
typeof(GameObject), allowSceneObjects: false) as GameObject;

0 commit comments

Comments
 (0)