Skip to content

Commit 632f984

Browse files
author
AJubrey
committed
[ADDED] comment
[CHANGED] made the check a little more exact
1 parent 614556d commit 632f984

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,8 @@ public static void SetRelativeSavePath(string newPath) {
731731

732732
public static string GetIntegrationSavePath()
733733
{
734-
if (!instance.IntegrationSavePath.Contains("/"))
734+
//If the save path gets messed up and ends up not being valid, just use the project folder as the default
735+
if (instance.IntegrationSavePath.Trim() == "")
735736
{
736737
//The project folder, above the asset folder
737738
Directory.GetCurrentDirectory().ToString();

0 commit comments

Comments
 (0)