Skip to content

Commit 49ee5dc

Browse files
author
AJubrey
committed
[CHANGED] isHeadlessInstall() to return an int instead of a bool
1 parent 29211ff commit 49ee5dc

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));
152+
ESCAPED_QUOTE, GetProjectPath(), GetExportSettingsPath(), GetImportSettingsPath(), (IsHeadlessInstall()), (HideSendToUnityMenu));
153153
}}
154154

155155
private string MAYA_CLOSE_COMMAND { get {
@@ -169,9 +169,9 @@ protected static string GetUserFolder()
169169
}
170170
}
171171

172-
public static bool IsHeadlessInstall ()
172+
public static int IsHeadlessInstall ()
173173
{
174-
return false;
174+
return 0;
175175
}
176176

177177
public static int HideSendToUnityMenu

0 commit comments

Comments
 (0)