Skip to content

Commit c10634f

Browse files
committed
fix so export set selected when exporting model only
- also add todo with favro ticket
1 parent 6f3edb6 commit c10634f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Assets/Integrations/Autodesk/maya/scripts/unityCommands.mel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ proc exportSet(string $unitySet, int $exportAnim){
247247
$animatedObjectSet = `sets`;
248248
select -r -ne $animatedObjectSet;
249249
}
250+
else{
251+
select -r -ne $unitySet;
252+
}
250253

251254
$pathAttr = $UnityFbxFilePathAttr;
252255
$nameAttr = $UnityFbxFileNameAttr;
@@ -298,6 +301,7 @@ proc unityExport(int $exportAnim){
298301
continue;
299302
}
300303

304+
// TODO (UNI-39197) move functionality to separate mel file
301305
// check if the selection intersects with this export set
302306
string $exportSetContents[] = `listConnections $exportSet`;
303307
string $intersection[] = getIntersection($origSelection, $exportSetContents);

0 commit comments

Comments
 (0)