Skip to content

Commit a59a16f

Browse files
committed
move max install to button in export settings
1 parent 9d255a2 commit a59a16f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ public override void OnInspectorGUI() {
161161
FbxExporters.Editor.IntegrationsUI.InstallMayaIntegration ();
162162
}
163163

164+
if (GUILayout.Button ("Install 3DS Max Integration")) {
165+
FbxExporters.Editor.MaxIntegrationUI.InstallIntegration ();
166+
}
167+
164168
GUILayout.FlexibleSpace ();
165169
GUILayout.EndScrollView ();
166170

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,7 @@ public static int InstallMaxPlugin(){
467467
}
468468

469469
class MaxIntegrationUI{
470-
[MenuItem("FbxExporters/Install Max Integration", false, 0)]
471-
static void OnMenuItem (MenuCommand command)
470+
public static void InstallIntegration()
472471
{
473472
int exitCode = MaxIntegration.InstallMaxPlugin ();
474473
string title, message;

0 commit comments

Comments
 (0)