Skip to content

Commit 3472ea1

Browse files
committed
fix so correct variable set
1 parent 97afeff commit 3472ea1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/FbxExporters/Editor/ConvertToPrefabEditorWindow.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ protected override void CreateCustomUI ()
105105
EditorGUI.indentLevel--;
106106
// continually resize to contents
107107
var textFieldSize = m_nameTextFieldStyle.CalcSize (new GUIContent(m_prefabFileName));
108-
m_exportFileName = EditorGUILayout.TextField (m_prefabFileName, m_nameTextFieldStyle, GUILayout.Width(textFieldSize.x + 5), GUILayout.MinWidth(5));
109-
m_exportFileName = ModelExporter.ConvertToValidFilename (m_prefabFileName);
108+
m_prefabFileName = EditorGUILayout.TextField (m_prefabFileName, m_nameTextFieldStyle, GUILayout.Width(textFieldSize.x + 5), GUILayout.MinWidth(5));
109+
m_prefabFileName = ModelExporter.ConvertToValidFilename (m_prefabFileName);
110110

111111
EditorGUILayout.LabelField ("<color=#808080ff>.prefab</color>", m_fbxExtLabelStyle, GUILayout.Width(m_prefabExtLabelWidth));
112112
EditorGUI.indentLevel++;

0 commit comments

Comments
 (0)