Skip to content

Commit 29211ff

Browse files
author
AJubrey
committed
[CHANGED] the return type of HideSendToUnityMenu to be int
1 parent 20f0b6e commit 29211ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 3 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));
153153
}}
154154

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

177-
public static bool HideSendToUnityMenu
177+
public static int HideSendToUnityMenu
178178
{
179179
get{
180-
return EditorTools.ExportSettings.instance.HideSendToUnityMenu;
180+
return EditorTools.ExportSettings.instance.HideSendToUnityMenu?1:0;
181181
}
182182
}
183183

0 commit comments

Comments
 (0)