Skip to content

Commit 01873a3

Browse files
author
AJubrey
committed
[UPDATED] environment variable name
1 parent 2c9e40a commit 01873a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ private static HashSet<string> GetCustomVendorLocations()
343343
{
344344
HashSet<string> result = new HashSet<string>();
345345

346-
var environmentVariable = Environment.GetEnvironmentVariable("UNITY_FBX_3DAPP_VENDOR_LOCATIONS");
346+
var environmentVariable = Environment.GetEnvironmentVariable("UNITY_3DAPP_VENDOR_LOCATIONS");
347347

348348
if (!string.IsNullOrEmpty(environmentVariable))
349349
{

Assets/FbxExporters/Editor/UnitTests/FbxExportSettingsTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public void VendorLocationInstallationTest1 ()
380380
private void VendorLocations_Setup (List<string> paths)
381381
{
382382
//Preserve our environment variables for later
383-
originalVendorLocation = System.Environment.GetEnvironmentVariable ("UNITY_FBX_3DAPP_VENDOR_LOCATIONS");
383+
originalVendorLocation = System.Environment.GetEnvironmentVariable ("UNITY_3DAPP_VENDOR_LOCATIONS");
384384
originalMayaLocation = System.Environment.GetEnvironmentVariable ("MAYA_LOCATION");
385385

386386
foreach (var pathToExe in paths) {
@@ -399,7 +399,7 @@ private void VendorLocations_Setup (List<string> paths)
399399
private void VendorLocations_TearDown(List<string> vendorInstallFolders)
400400
{
401401
//Put the environment variables back to what they were originally
402-
System.Environment.SetEnvironmentVariable("UNITY_FBX_3DAPP_VENDOR_LOCATIONS", originalVendorLocation);
402+
System.Environment.SetEnvironmentVariable("UNITY_3DAPP_VENDOR_LOCATIONS", originalVendorLocation);
403403
System.Environment.SetEnvironmentVariable("MAYA_LOCATION", originalMayaLocation);
404404

405405
//Clean up vendor location(s)
@@ -418,7 +418,7 @@ private void SetEnvironmentVariables (string vendorLocation, string mayaLocation
418418
{
419419
if (!string.IsNullOrEmpty (vendorLocation)) {
420420
//if the given vendor location isn't null, set the environment variable to it.
421-
System.Environment.SetEnvironmentVariable ("UNITY_FBX_3DAPP_VENDOR_LOCATIONS", vendorLocation);
421+
System.Environment.SetEnvironmentVariable ("UNITY_3DAPP_VENDOR_LOCATIONS", vendorLocation);
422422
}
423423
if (mayaLocationPath != null) {
424424
//if the given MAYA_LOCATION isn't null, set the environment variable to it

0 commit comments

Comments
 (0)