Fix CLI compile errors
This commit is contained in:
@@ -344,11 +344,12 @@ namespace AssetStudioCLI
|
|||||||
var castToBone = Properties.Settings.Default.castToBone;
|
var castToBone = Properties.Settings.Default.castToBone;
|
||||||
var boneSize = (int)Properties.Settings.Default.boneSize;
|
var boneSize = (int)Properties.Settings.Default.boneSize;
|
||||||
var exportAllUvsAsDiffuseMaps = Properties.Settings.Default.exportAllUvsAsDiffuseMaps;
|
var exportAllUvsAsDiffuseMaps = Properties.Settings.Default.exportAllUvsAsDiffuseMaps;
|
||||||
|
var exportUV0UV1 = Properties.Settings.Default.exportUV0UV1;
|
||||||
var scaleFactor = (float)Properties.Settings.Default.scaleFactor;
|
var scaleFactor = (float)Properties.Settings.Default.scaleFactor;
|
||||||
var fbxVersion = Properties.Settings.Default.fbxVersion;
|
var fbxVersion = Properties.Settings.Default.fbxVersion;
|
||||||
var fbxFormat = Properties.Settings.Default.fbxFormat;
|
var fbxFormat = Properties.Settings.Default.fbxFormat;
|
||||||
ModelExporter.ExportFbx(exportPath, convert, eulerFilter, filterPrecision,
|
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)
|
public static bool ExportDumpFile(AssetItem item, string exportPath)
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ namespace AssetStudioCLI.Properties {
|
|||||||
public bool castToBone => AppSettings.Get("castToBone", false);
|
public bool castToBone => AppSettings.Get("castToBone", false);
|
||||||
public bool restoreExtensionName => AppSettings.Get("restoreExtensionName", true);
|
public bool restoreExtensionName => AppSettings.Get("restoreExtensionName", true);
|
||||||
public bool exportAllUvsAsDiffuseMaps => AppSettings.Get("exportAllUvsAsDiffuseMaps", false);
|
public bool exportAllUvsAsDiffuseMaps => AppSettings.Get("exportAllUvsAsDiffuseMaps", false);
|
||||||
|
public bool exportUV0UV1 => AppSettings.Get("exportUV0UV1", false);
|
||||||
public bool encrypted => AppSettings.Get("encrypted", true);
|
public bool encrypted => AppSettings.Get("encrypted", true);
|
||||||
public byte key => AppSettings.Get("key", (byte)0x93);
|
public byte key => AppSettings.Get("key", (byte)0x93);
|
||||||
public bool skipRenderer => AppSettings.Get("skipRenderer", false);
|
public bool skipRenderer => AppSettings.Get("skipRenderer", false);
|
||||||
|
|||||||
Reference in New Issue
Block a user