Skip to content

Commit 04efa16

Browse files
committed
match export path instead of dir
1 parent 99572e4 commit 04efa16

File tree

1 file changed

+1
-1
lines changed
  • Assets/com.unity.formats.fbx/Editor/Integrations/Autodesk/maya/scripts

1 file changed

+1
-1
lines changed

Assets/com.unity.formats.fbx/Editor/Integrations/Autodesk/maya/scripts/unityCommands.mel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ proc string[] getExportSetAttributes(string $exportPath, int $exportAnimOnly){
148148
// import as animation
149149
$exportAnimFileName = $exportFileName;
150150

151-
if(match("@", basename($exportDir, ".fbx")) != ""){
151+
if(match("@", basename($exportPath, ".fbx")) != ""){
152152
$fileNameWithoutExt = match("[^@]+", $fileNameWithoutExt);
153153
}
154154
}

0 commit comments

Comments
 (0)