Skip to content

Commit e81385c

Browse files
author
AJubrey
committed
[CHANGED] instead of checking if it is equal to an empty string, i can just check if it is null or empty using the built in function
1 parent 632f984 commit e81385c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ public static void SetRelativeSavePath(string newPath) {
732732
public static string GetIntegrationSavePath()
733733
{
734734
//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() == "")
735+
if (string.IsNullOrEmpty(instance.IntegrationSavePath.Trim()))
736736
{
737737
//The project folder, above the asset folder
738738
Directory.GetCurrentDirectory().ToString();

0 commit comments

Comments
 (0)