Skip to content

Commit af7ea91

Browse files
committed
small fix to commands.py
when reviewing load fbx dependancies before export settings because we need fbxmaya.mll for the setting commands to work
1 parent 235922e commit af7ea91

File tree

1 file changed

+3
-3
lines changed
  • Assets/Integrations/Autodesk/maya/scripts/unityOneClick

1 file changed

+3
-3
lines changed

Assets/Integrations/Autodesk/maya/scripts/unityOneClick/commands.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ def doIt(self, args):
276276
self.displayError("Missing Unity instruction file path, please re-install integration.")
277277
return
278278

279-
if not self.loadUnityFbxExportSettings():
280-
return
281-
282279
# make sure the GamePipeline and fbxmaya plugins are loaded
283280
if not self.loadDependencies():
284281
return
285282

283+
if not self.loadUnityFbxExportSettings():
284+
return
285+
286286
# select the export set for export, if it exists,
287287
# otherwise take what is currently selected
288288
origSelection = maya.cmds.ls(sl=True)

0 commit comments

Comments
 (0)