Wuthering Waves, Honor of Kings: World, Titan Quest 2 update
Some checks are pending
FModel QA Builder / build (push) Waiting to run

Strinova lua support
MoprhTargets and Blueprint Decompiler fixes
This commit is contained in:
LongerWarrior 2026-06-04 23:20:44 +03:00
parent a07ee3a55c
commit 5e4973f3de
4 changed files with 6 additions and 5 deletions

@ -1 +1 @@
Subproject commit cf74fc32fe1b40e9fd3440032508c5e1d50cf58d
Subproject commit e16842fa0fd94919fcaba5bdcb361ec154be20ed

View File

@ -49,6 +49,7 @@ public static class AvalonExtensions
case "bat":
case "txt":
case "pem":
case "js":
case "po":
return null;
default:

View File

@ -61,13 +61,13 @@ public class Morph : IDisposable
}
}
public Morph(float[] vertices, Dictionary<uint, int> dict, UMorphTarget morphTarget)
public Morph(float[] vertices, Dictionary<uint, int> dict, UMorphTarget morphTarget, int index = 0)
{
Name = morphTarget.Name;
Vertices = new float[vertices.Length];
Array.Copy(vertices, Vertices, vertices.Length);
foreach (var vert in morphTarget.MorphLODModels[0].Vertices)
foreach (var vert in morphTarget.MorphLODModels[index].Vertices)
{
var count = 0;
if (dict.TryGetValue(vert.SourceIdx, out var baseIndex))

View File

@ -101,10 +101,10 @@ public class SkeletalModel : UModel
foreach (var morph in export.MorphTargets)
{
if (!morph.TryLoad(out UMorphTarget morphTarget) || morphTarget.MorphLODModels.Length < 1 ||
morphTarget.MorphLODModels[0].Vertices.Length < 1)
morphTarget.MorphLODModels[skeletalMesh.LODs[LodLevel].LODIndex].Vertices.Length < 1)
continue;
Morphs.Add(new Morph(cachedVertices, vertexLookup, morphTarget));
Morphs.Add(new Morph(cachedVertices, vertexLookup, morphTarget, skeletalMesh.LODs[LodLevel].LODIndex));
}
}