Skip to content

Commit 5f8765d

Browse files
author
Benoit Hudson
committed
Comment changes upon review.
1 parent a703bc5 commit 5f8765d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Assets/FbxExporters/Editor/ConvertToModel.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ public static GameObject[] CreateInstantiatedModelPrefab (GameObject [] unityGam
107107
/// <returns>The instance that replaces 'toConvert' in the scene.</returns>
108108
/// <param name="toConvert">GameObject hierarchy to replace with a prefab.</param>
109109
/// <param name="fbxFullPath">Absolute platform-specific path to
110-
/// the fbx file. May be null, in which case we construct a path from
111-
/// the object name and the directoryFullPath.</param>
110+
/// the fbx file. May be null, in which case we construct a unique
111+
/// filename from the object name and the
112+
/// directoryFullPath.</param>
112113
/// <param name="directoryFullPath">Absolute platform-specific path
113114
/// to a directory in which to put the fbx file. Ignored if
114115
/// fbxFullPath is specified. May be null, in which case we use the
@@ -120,8 +121,8 @@ public static GameObject Convert (
120121
string fbxFullPath = null,
121122
bool keepOriginal = true)
122123
{
123-
// Generate a unique filename.
124124
if (string.IsNullOrEmpty(fbxFullPath)) {
125+
// Generate a unique filename.
125126
if (string.IsNullOrEmpty (directoryFullPath)) {
126127
directoryFullPath = FbxExporters.EditorTools.ExportSettings.GetAbsoluteSavePath ();
127128
} else {

0 commit comments

Comments
 (0)