Skip to content

Commit 7736c4a

Browse files
committed
remove Trim() and now redundant null check
1 parent efd614f commit 7736c4a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,7 @@ public static void SetRelativeSavePath(string newPath) {
762762
public static string GetIntegrationSavePath()
763763
{
764764
//If the save path gets messed up and ends up not being valid, just use the project folder as the default
765-
if (instance.IntegrationSavePath == null ||
766-
string.IsNullOrEmpty(instance.IntegrationSavePath.Trim()) ||
765+
if (string.IsNullOrEmpty(instance.IntegrationSavePath) ||
767766
!Directory.Exists(instance.IntegrationSavePath))
768767
{
769768
//The project folder, above the asset folder

0 commit comments

Comments
 (0)