Skip to content

Commit 6b5386b

Browse files
authored
Merge pull request #472 from Unity-Technologies/convert-to-prefab-variant-UI-fixes
Convert to prefab variant UI fixes
2 parents 5c72390 + 910b755 commit 6b5386b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ protected ConvertToNestedPrefabException(SerializationInfo info, StreamingContex
3434

3535
internal static class ConvertToNestedPrefab
3636
{
37-
const string GameObjectMenuItemName = "GameObject/Convert To Model Prefab Variant Instance...";
38-
const string AssetsMenuItemName = "Assets/Convert To Model Prefab Variant...";
39-
const string UndoConversionGroup = "Convert {0} to Model Prefab Variant";
40-
internal const string UndoConversionCreateObject = "Convert to Model Prefab Variant instance";
37+
const string GameObjectMenuItemName = "GameObject/Convert To FBX Linked Prefab...";
38+
const string AssetsMenuItemName = "Assets/Convert To FBX Linked Prefab...";
39+
const string UndoConversionGroup = "Convert {0} to FBX Linked Prefab";
40+
internal const string UndoConversionCreateObject = "Convert to FBX Linked Prefab";
4141

4242
/// <summary>
4343
/// OnContextItem is called either:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ protected void OnGUI ()
446446
}
447447
}
448448
GUILayout.EndHorizontal ();
449+
EditorGUILayout.Space(); // adding a space at bottom of dialog so buttons aren't right at the edge
449450

450451
if (GUI.changed) {
451452
SaveExportSettings ();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public override void OnInspectorGUI() {
7171
EditorGUILayout.LabelField("Export Options", EditorStyles.boldLabel);
7272
EditorGUI.indentLevel++;
7373
exportSettings.ShowConvertToPrefabDialog = EditorGUILayout.Toggle(
74-
new GUIContent("Show Convert UI:", "Enable Convert dialog when converting to a Linked Prefab"),
74+
new GUIContent("Show Convert UI:", "Show the Convert dialog when converting to an FBX Linked Prefab"),
7575
exportSettings.ShowConvertToPrefabDialog
7676
);
7777
EditorGUILayout.Space();

0 commit comments

Comments
 (0)