Skip to content

Commit 4b1a836

Browse files
committed
execute in server mode
so that UI doesn't open
1 parent 229e9c9 commit 4b1a836

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ public static int InstallMaxPlugin(string maxExe){
503503
myProcess.StartInfo.CreateNoWindow = true;
504504
myProcess.StartInfo.UseShellExecute = false;
505505

506-
myProcess.StartInfo.Arguments = string.Format("-q -silent -mxs \"{0}\"", installScript);
506+
myProcess.StartInfo.Arguments = string.Format("-s -q -silent -mxs \"{0}\"", installScript);
507507

508508
myProcess.EnableRaisingEvents = true;
509509
myProcess.Start();

Assets/Integrations/Autodesk/max/scripts/UnityFbxForMaxPlugin.ms

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ macroScript UnityExport category:"File-Export"
7171
)
7272
else(
7373
unityProjectPath = getINISetting (GetMAXIniFile()) "Unity" "UnityProject"
74-
exportFileName = getSaveFileName caption:"Export FBX to Unity" filename:unityProjectPath types:"FBX (*.fbx)|*.fbx|"
7574
exportFileName = getSaveFileName caption:"Export FBX to Unity" filename:(unityProjectPath + "/Assets/") types:"FBX (*.fbx)|*.fbx|"
7675
)
7776

0 commit comments

Comments
 (0)