mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-13 20:44:50 +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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user