Skip to content

Commit 292c74f

Browse files
authored
Merge pull request #113 from Unity-Technologies/UNI-24170-import-opens-in-Unity-project
UNI-24170 import opens in Unity project
2 parents b9eb134 + 0cac51d commit 292c74f

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)