Skip to content

Commit 6a2bd09

Browse files
author
AJubrey
committed
[CHANGED] took return statements out of the switch case so we don't need to write it twice
1 parent ba766d3 commit 6a2bd09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,14 @@ public static string[] DCCVendorLocations {
320320
{
321321
case RuntimePlatform.WindowsEditor:
322322
locationsList.AddRange(new string[] { "C:/Program Files/Autodesk", "D:/Program Files/Autodesk" });
323-
return locationsList.ToArray();
323+
break;
324324
case RuntimePlatform.OSXEditor:
325325
locationsList.AddRange(new string[] { "/Applications/Autodesk" });
326-
return locationsList.ToArray();
326+
break;
327327
default:
328328
throw new NotImplementedException();
329329
}
330+
return locationsList.ToArray();
330331
}
331332
}
332333

0 commit comments

Comments
 (0)