mirror of
https://github.com/4sval/FModel.git
synced 2026-08-27 20:04:25 -05:00
Gothic 1 Remake, Century: Age of Ashes, Dragon Sword support
Some checks failed
FModel QA Builder / build (push) Has been cancelled
Some checks failed
FModel QA Builder / build (push) Has been cancelled
This commit is contained in:
Submodule CUE4Parse updated: 86baae5c47...bf3c09087c
@@ -100,7 +100,7 @@ public class SkeletalModel : UModel
|
||||
|
||||
foreach (var morph in export.MorphTargets)
|
||||
{
|
||||
if (!morph.TryLoad(out UMorphTarget morphTarget) || morphTarget.MorphLODModels.Length < 1 ||
|
||||
if (!morph.TryLoad(out UMorphTarget morphTarget) || morphTarget.MorphLODModels.Length <= skeletalMesh.LODs[LodLevel].LODIndex ||
|
||||
morphTarget.MorphLODModels[skeletalMesh.LODs[LodLevel].LODIndex].Vertices.Length < 1)
|
||||
continue;
|
||||
|
||||
|
||||
@@ -247,7 +247,7 @@ public class Options
|
||||
{
|
||||
return _game switch
|
||||
{
|
||||
"LIESOFP" or "CODEVEIN2" or "HIGHONLIFE2" => true,
|
||||
"LIESOFP" or "CODEVEIN2" or "HIGHONLIFE2" or "MORTALSHELL2" => true,
|
||||
_ => false,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user