Skip to content

Commit e17e71b

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into UNI-24636-1.2.0b1-forum-release
2 parents 307833d + 748c123 commit e17e71b

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,7 @@ public override void OnInspectorGUI() {
6565
EditorGUILayout.SelectableLabel(pathLabel,
6666
EditorStyles.textField,
6767
GUILayout.MinWidth(SelectableLabelMinWidth),
68-
GUILayout.Height(EditorGUIUtility.singleLineHeight));
69-
GUILayout.EndHorizontal();
70-
GUILayout.BeginHorizontal();
71-
72-
GUILayout.Space(LabelWidth + BrowseButtonOffset);
68+
GUILayout.Height(EditorGUIUtility.singleLineHeight));
7369

7470
if (GUILayout.Button(new GUIContent("...", "Browse to a new location for saving model prefabs"), EditorStyles.miniButton, GUILayout.Width(BrowseButtonWidth)))
7571
{
@@ -105,6 +101,7 @@ public override void OnInspectorGUI() {
105101
}
106102
}
107103
}
104+
108105
GUILayout.EndHorizontal();
109106

110107
EditorGUILayout.Space();
@@ -123,11 +120,6 @@ public override void OnInspectorGUI() {
123120

124121
exportSettings.selectedDCCApp = EditorGUILayout.Popup(exportSettings.selectedDCCApp, options);
125122

126-
GUILayout.EndHorizontal();
127-
GUILayout.BeginHorizontal();
128-
129-
GUILayout.Space(LabelWidth + BrowseButtonOffset);
130-
131123
if (GUILayout.Button(new GUIContent("...", "Browse to a 3D application in a non-default location"), EditorStyles.miniButton, GUILayout.Width(BrowseButtonWidth))) {
132124
var ext = "";
133125
switch (Application.platform) {

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)