Skip to content

Commit f8c3abc

Browse files
committed
make sure selected doesnt change if fail to find maya
1 parent 291e5a9 commit f8c3abc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public override void OnInspectorGUI() {
144144
}
145145
if (!foundMaya) {
146146
Debug.LogError (string.Format("Could not find Maya at: \"{0}\"", mayaDir.FullName));
147+
exportSettings.selectedMayaApp = oldValue;
147148
return;
148149
}
149150
}

0 commit comments

Comments
 (0)