Skip to content

Commit 4f59bbb

Browse files
committed
code review fix
1 parent 7ca37da commit 4f59bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ proc string checkNamespaceNeedsUpdate(string $unitySet, string $unityFbxNamespac
129129
return $unityFbxNamespace;
130130
}
131131

132-
global proc string getMayaValidName(string $input)
132+
global proc string formValidObjectName(string $input)
133133
{
134134
string $output = "";
135135
for ($n = 1 ; $n < size($input)+1 ; $n++)
@@ -173,7 +173,7 @@ proc importFile(string $filePathStr){
173173

174174
$fileNameWithoutExt = match("[^@]+", $fileNameWithoutExt);
175175
}
176-
$fileNameWithoutExt = getMayaValidName($fileNameWithoutExt);
176+
$fileNameWithoutExt = formValidObjectName($fileNameWithoutExt);
177177

178178
$unityExportSet = `format -stringArg $fileNameWithoutExt $UnityExportSetNameFormat`;
179179

0 commit comments

Comments
 (0)