Skip to content

Commit 0cac51d

Browse files
committed
make the Unity project a Maya workspace
1 parent fba9544 commit 0cac51d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Assets/Integrations/Autodesk/maya2017/scripts/configureUnityOneClick.mel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ global proc configureUnityOneClick(
88
optionVar -stringValue "UnityTempSavePath" $unityTempSavePath;
99
optionVar -stringValue "UnityFbxExportSettings" $unityFbxExportSettings;
1010
optionVar -intValue "UnityOneClick_Headless" $headless;
11+
12+
// set project as the current workspace
13+
workspace -o $unityProject;
1114

1215
// configure auto load of plugin
1316
if (`pluginInfo -q -loaded unityOneClickPlugin` == false)

0 commit comments

Comments
 (0)