Skip to content

Commit a4a452e

Browse files
committed
use objExists instead of set exists for animated object set
- set exists will look through a list of sets without the namespace, which may cause issues if there are multiple sets of the same name in different namespaces.
1 parent e3a1169 commit a4a452e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ proc exportSet(string $unitySet, int $exportAnim){
319319
eval $strCmd;
320320
}
321321

322-
if(setExists($animatedObjectSet)){
322+
if(`objExists $animatedObjectSet`){
323323
delete $animatedObjectSet;
324324
}
325325
}

0 commit comments

Comments
 (0)