Some fixes for Live2D export

- [CLI] Replaced "--l2d-force-bezier" with "--l2d-smooth-motions"
This commit is contained in:
VaDiM
2025-09-06 03:47:36 +03:00
parent 80e6a1d074
commit 553f0d94f3
3 changed files with 26 additions and 25 deletions

View File

@ -360,7 +360,7 @@ namespace AssetStudioCLI.Options
f_l2dForceBezier = new GroupedOption<bool>
(
optionDefaultValue: false,
optionName: "--l2d-force-bezier",
optionName: "--l2d-smooth-motions",
optionDescription: "(Flag) If specified, Linear motion segments will be calculated as Bezier segments\n" +
"(May help if the exported motions look jerky/not smooth enough)",
optionExample: "",
@ -705,7 +705,7 @@ namespace AssetStudioCLI.Options
f_l2dAssetSearchByFilename.Value = true;
flagIndexes.Add(i);
break;
case "--l2d-force-bezier":
case "--l2d-smooth-motions":
if (o_workMode.Value != WorkMode.Live2D)
{
Console.WriteLine($"{"Error".Color(brightRed)} during parsing [{flag.Color(brightYellow)}] flag. This flag is not suitable for the current working mode [{o_workMode.Value}].\n");