Merge pull request #177 from FumaPraQue/master

Fix importing occlusions from .ymap files
This commit is contained in:
dexyfex 2023-08-21 14:23:51 +10:00 committed by GitHub
commit 62a430abc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3309,6 +3309,7 @@ namespace CodeWalker.GameFiles
Vertices = MetaTypes.ConvertDataArray<Vector3>(Data, 0, vertexCount);
Indices = new byte[indexCount];
Buffer.BlockCopy(Data, indicesOffset, Indices, 0, indexCount);
BuildTriangles();
}