Skip to content

Commit 2eac5a4

Browse files
authored
Merge pull request #244 from Unity-Technologies/UNI-32785-fix-camera-unit-test
UNI-32785 fix inconsistent camera unit test
2 parents a100ef3 + dc16ffe commit 2eac5a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/FbxExporters/Editor/UnitTests/ModelExporterTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ public void TestExportCamera(){
349349
camera.nearClipPlane = 19;
350350
camera.farClipPlane = 500.6f;
351351

352+
filename = GetRandomFbxFilePath (); // export to a different file
352353
fbxCamera = ExportCamera (filename, cameraObj);
353354
CompareCameraValues (camera, fbxCamera);
354355
Assert.AreEqual (camera.orthographicSize, fbxCamera.orthographicSize);

0 commit comments

Comments
 (0)