mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-11-18 11:48:47 -05:00
Some minor fixes
This commit is contained in:
@@ -609,6 +609,7 @@ namespace AssetStudio
|
|||||||
if (version >= 2019) //2019 and up
|
if (version >= 2019) //2019 and up
|
||||||
{
|
{
|
||||||
var m_BonesAABBCount = reader.ReadInt32();
|
var m_BonesAABBCount = reader.ReadInt32();
|
||||||
|
reader.ThrowIfTooLarge(m_BonesAABBCount * 24);
|
||||||
reader.Position += m_BonesAABBCount * 24; //skip MinMaxAABB[] m_BonesAABB
|
reader.Position += m_BonesAABBCount * 24; //skip MinMaxAABB[] m_BonesAABB
|
||||||
|
|
||||||
var m_VariableBoneCountWeightsCount = reader.ReadInt32();
|
var m_VariableBoneCountWeightsCount = reader.ReadInt32();
|
||||||
|
|||||||
@@ -371,7 +371,7 @@ namespace AssetStudioCLI.Options
|
|||||||
optionDefaultValue: false,
|
optionDefaultValue: false,
|
||||||
optionName: "--l2d-smooth-motions",
|
optionName: "--l2d-smooth-motions",
|
||||||
optionDescription: "(Flag) If specified, Linear motion segments will be calculated as Bezier segments\n" +
|
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)",
|
"(May help if the exported motions look jerky/not smooth enough)\n",
|
||||||
optionExample: "",
|
optionExample: "",
|
||||||
optionHelpGroup: HelpGroups.Live2D,
|
optionHelpGroup: HelpGroups.Live2D,
|
||||||
isFlag: true
|
isFlag: true
|
||||||
|
|||||||
@@ -307,7 +307,10 @@ namespace CubismLive2DExtractor
|
|||||||
|
|
||||||
if (Texture2Ds.Count == 0)
|
if (Texture2Ds.Count == 0)
|
||||||
{
|
{
|
||||||
Logger.Warning($"No textures found for \"{modelName}\" model");
|
var filterWarn = Options.SearchByFilename && Options.FilterTextures
|
||||||
|
? "\nTry to export without filtering the Live2D textures"
|
||||||
|
: "";
|
||||||
|
Logger.Warning($"No textures found for \"{modelName}\" model {filterWarn}");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user