File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Assets/FbxExporters/Editor Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,12 @@ public class ExportSettings : ScriptableSingleton<ExportSettings>
255
255
public const string kMayaLtOptionName = "MayaLT " ;
256
256
public const string kBlenderOptionName = "Blender " ;
257
257
258
+ private static string DefaultIntegrationSavePath {
259
+ get {
260
+ return Path . GetDirectoryName ( Application . dataPath ) ;
261
+ }
262
+ }
263
+
258
264
/// <summary>
259
265
/// The paths where all the different versions of Maya are installed
260
266
/// by default. Depends on the platform.
@@ -328,7 +334,7 @@ protected override void LoadDefaults()
328
334
launchAfterInstallation = true ;
329
335
ExportFormatSelection = 0 ;
330
336
convertToModelSavePath = kDefaultSavePath ;
331
- IntegrationSavePath = Directory . GetCurrentDirectory ( ) . ToString ( ) ;
337
+ IntegrationSavePath = DefaultIntegrationSavePath ;
332
338
dccOptionPaths = null ;
333
339
dccOptionNames = null ;
334
340
}
@@ -760,7 +766,7 @@ public static string GetIntegrationSavePath()
760
766
if ( string . IsNullOrEmpty ( instance . IntegrationSavePath . Trim ( ) ) || ! Directory . Exists ( instance . IntegrationSavePath ) )
761
767
{
762
768
//The project folder, above the asset folder
763
- Directory . GetCurrentDirectory ( ) . ToString ( ) ;
769
+ instance . IntegrationSavePath = DefaultIntegrationSavePath ;
764
770
}
765
771
return instance . IntegrationSavePath ;
766
772
}
You can’t perform that action at this time.
0 commit comments