Skip to content

Commit

Permalink
fix index format bug
Browse files Browse the repository at this point in the history
  • Loading branch information
z3y committed Jul 30, 2024
1 parent 771412a commit 8ae010d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Scripts/XatlasLightmapPacker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ public void Execute(bool clearStream, bool regenerateData, bool directlyToUv2 =
#endif
var stream = new Mesh
{
name = sm.name,
indexFormat = sm.indexFormat, // thanks haxy
vertices = sm.vertices,
normals = sm.normals,
uv = sm.uv,
Expand Down

0 comments on commit 8ae010d

Please sign in to comment.