mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2025-01-10 15:35:17 +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);
|
Vertices = MetaTypes.ConvertDataArray<Vector3>(Data, 0, vertexCount);
|
||||||
Indices = new byte[indexCount];
|
Indices = new byte[indexCount];
|
||||||
Buffer.BlockCopy(Data, indicesOffset, Indices, 0, indexCount);
|
Buffer.BlockCopy(Data, indicesOffset, Indices, 0, indexCount);
|
||||||
|
BuildTriangles();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user