Skip to content

Commit 2d7a75b

Browse files
committed
Maya won't import camera animation if Camera import not enabled.
We need to document the limitation - if you export a Camera Clip it will contain static values.
1 parent 8aae076 commit 2d7a75b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,6 @@ proc importFile(string $filePathStr){
234234
storeAttribute($unityExportSet, $UnityFbxFileNameAttr, "");
235235
storeAttribute($unityExportSet, $UnityFbxNamespaceAttr, "");
236236
}
237-
else
238-
{
239-
// Update animation only
240-
FBXImportMode -v exmerge;
241-
242-
// Don’t change the static values on the cameras and lights
243-
FBXImportCameras -v false;
244-
FBXImportLights -v false;
245-
}
246237

247238
if(`namespaceInfo -cur -an` != $targetNamespace){
248239
namespace -set $targetNamespace;

0 commit comments

Comments
 (0)