mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-29 02:12:54 +08:00
Fix importing occlusions from .ymap files
Occlude Models from imported .ymap files was not being recognized properly. The triangles count being shown on Project window was always being 0.
This commit is contained in:
parent
6f5f0fde39
commit
f0f23ded18
@ -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