Skip to content

Commit 465ef8d

Browse files
committed
set folder name as const variable
1 parent 7e0f604 commit 465ef8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Assets/FbxExporters/Editor/ReviewLastSavedModel.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ class TurnTable
1212
const string ScenesPath = "Assets";
1313
const string SceneName = "FbxExporters_TurnTableReview";
1414

15+
public const string TempSavePath = "_safe_to_delete";
16+
1517
static string LastFilePath = null;
1618
static Object LastModel = null;
1719

@@ -50,7 +52,7 @@ private static string GetSceneFilePath ()
5052

5153
private static string GetLastSavedFilePath ()
5254
{
53-
string modelPath = Application.dataPath + "/_safe_to_delete";
55+
string modelPath = Application.dataPath + "/" + TempSavePath;
5456
System.IO.FileInfo fileInfo = GetLastSavedFile (modelPath);
5557

5658
return (fileInfo != null) ? fileInfo.FullName : null;

0 commit comments

Comments
 (0)