diff --git a/AssetStudioCLI/Exporter.cs b/AssetStudioCLI/Exporter.cs index 8be0d46..3be7bea 100644 --- a/AssetStudioCLI/Exporter.cs +++ b/AssetStudioCLI/Exporter.cs @@ -344,11 +344,12 @@ namespace AssetStudioCLI var castToBone = Properties.Settings.Default.castToBone; var boneSize = (int)Properties.Settings.Default.boneSize; var exportAllUvsAsDiffuseMaps = Properties.Settings.Default.exportAllUvsAsDiffuseMaps; + var exportUV0UV1 = Properties.Settings.Default.exportUV0UV1; var scaleFactor = (float)Properties.Settings.Default.scaleFactor; var fbxVersion = Properties.Settings.Default.fbxVersion; var fbxFormat = Properties.Settings.Default.fbxFormat; ModelExporter.ExportFbx(exportPath, convert, eulerFilter, filterPrecision, - exportAllNodes, exportSkins, exportAnimations, exportBlendShape, castToBone, boneSize, exportAllUvsAsDiffuseMaps, scaleFactor, fbxVersion, fbxFormat == 1); + exportAllNodes, exportSkins, exportAnimations, exportBlendShape, castToBone, boneSize, exportAllUvsAsDiffuseMaps, exportUV0UV1, scaleFactor, fbxVersion, fbxFormat == 1); } public static bool ExportDumpFile(AssetItem item, string exportPath) diff --git a/AssetStudioCLI/Options.cs b/AssetStudioCLI/Options.cs index 3c7d28b..6a6c0b0 100644 --- a/AssetStudioCLI/Options.cs +++ b/AssetStudioCLI/Options.cs @@ -58,6 +58,7 @@ namespace AssetStudioCLI.Properties { public bool castToBone => AppSettings.Get("castToBone", false); public bool restoreExtensionName => AppSettings.Get("restoreExtensionName", true); public bool exportAllUvsAsDiffuseMaps => AppSettings.Get("exportAllUvsAsDiffuseMaps", false); + public bool exportUV0UV1 => AppSettings.Get("exportUV0UV1", false); public bool encrypted => AppSettings.Get("encrypted", true); public byte key => AppSettings.Get("key", (byte)0x93); public bool skipRenderer => AppSettings.Get("skipRenderer", false);