This commit is contained in:
Perfare 2019-07-29 00:31:43 +08:00
parent dc05e5b5eb
commit e62b6c3d77
1 changed files with 47 additions and 47 deletions

View File

@ -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)
{