Skip to content

Commit c034f31

Browse files
author
AJubrey
committed
[CHANGED] wording on "keep 3d app" option
[REMOVED] white space [CHANGED] made HideSendToUnityMenu() a get accessor
1 parent 23029c6 commit c034f31

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public override void OnInspectorGUI() {
177177
EditorGUILayout.Space();
178178

179179
exportSettings.launchAfterInstallation = EditorGUILayout.Toggle(
180-
new GUIContent("Keep 3D Application opened:",
180+
new GUIContent("Keep open:",
181181
"Keep the selected 3D application open after Unity integration install has completed."),
182182
exportSettings.launchAfterInstallation
183183
);
@@ -198,8 +198,6 @@ public override void OnInspectorGUI() {
198198
FbxExporters.Editor.IntegrationsUI.InstallDCCIntegration ();
199199
}
200200

201-
202-
203201
GUILayout.FlexibleSpace ();
204202
GUILayout.EndScrollView ();
205203
GUILayout.EndVertical();

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ protected static string ESCAPED_QUOTE {
149149

150150
protected string MAYA_CONFIG_COMMAND { get {
151151
return string.Format("unityConfigure {0}{1}{0} {0}{2}{0} {0}{3}{0} {4} {5};",
152-
ESCAPED_QUOTE, GetProjectPath(), GetExportSettingsPath(), GetImportSettingsPath(), (IsHeadlessInstall()?1:0), (HideSendToUnityMenu()?1:0));
152+
ESCAPED_QUOTE, GetProjectPath(), GetExportSettingsPath(), GetImportSettingsPath(), (IsHeadlessInstall()?1:0), (HideSendToUnityMenu?1:0));
153153
}}
154154

155155
private string MAYA_CLOSE_COMMAND { get {
@@ -174,9 +174,11 @@ public static bool IsHeadlessInstall ()
174174
return false;
175175
}
176176

177-
public static bool HideSendToUnityMenu()
177+
public static bool HideSendToUnityMenu
178178
{
179-
return EditorTools.ExportSettings.instance.HideSendToUnityMenu;
179+
get{
180+
return EditorTools.ExportSettings.instance.HideSendToUnityMenu;
181+
}
180182
}
181183

182184
public string GetModuleTemplatePath()

0 commit comments

Comments
 (0)