Skip to content

Commit b789959

Browse files
committed
Fix string check.
1 parent 651a379 commit b789959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.formats.fbx/Editor/FbxExporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3704,7 +3704,7 @@ internal int ExportAll (
37043704
AssetDatabase.Refresh();
37053705

37063706
// replace with original metafile if specified to
3707-
if (ExportOptions.PreserveImportSettings && originalMetafilePath != "")
3707+
if (ExportOptions.PreserveImportSettings && !string.IsNullOrEmpty(originalMetafilePath))
37083708
{
37093709
ReplaceMetafile(originalMetafilePath);
37103710
}

0 commit comments

Comments
 (0)