mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-05 06:37:29 +08:00
Merge pull request #177 from FumaPraQue/master
Fix importing occlusions from .ymap files
This commit is contained in:
commit
62a430abc8
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user