Skip to content

Commit 3673725

Browse files
committed
set aspect causing setAttr errors in Maya
Maya complains about setting the defaultResolution.width and height below 2
1 parent 431a69c commit 3673725

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,6 @@ protected bool ExportCamera (GameObject unityGO, FbxScene fbxScene, FbxNode fbxN
807807
unityCamera.orthographic ? FbxCamera.EProjectionType.eOrthogonal : FbxCamera.EProjectionType.ePerspective;
808808

809809
fbxCamera.ProjectionType.Set(projectionType);
810-
fbxCamera.SetAspect (FbxCamera.EAspectRatioMode.eFixedRatio, aspectRatio, 1.0f);
811810
fbxCamera.FilmAspectRatio.Set(aspectRatio);
812811
fbxCamera.SetApertureWidth (apertureWidthInInches);
813812
fbxCamera.SetApertureHeight (apertureHeightInInches);

0 commit comments

Comments
 (0)