mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
improved
This commit is contained in:
parent
dc05e5b5eb
commit
e62b6c3d77
@ -874,14 +874,9 @@ namespace AssetStudio
|
||||
bTrack.BlendShape = new ImportedBlendShape();
|
||||
bTrack.BlendShape.ChannelName = channelName;
|
||||
bTrack.BlendShape.Keyframes.Add(new ImportedKeyframe<float>(time, data[curveIndex++ + offset]));
|
||||
return;
|
||||
}
|
||||
if (binding.path == 0)
|
||||
else if (binding.typeID == ClassIDType.Transform)
|
||||
{
|
||||
curveIndex++;
|
||||
return;
|
||||
}
|
||||
|
||||
var path = FixBonePath(GetPathFromHash(binding.path));
|
||||
var track = iAnim.FindTrack(path);
|
||||
|
||||
@ -926,6 +921,11 @@ namespace AssetStudio
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
curveIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
private string GetPathFromHash(uint hash)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user