Skip to content

Commit 797198a

Browse files
sevendevseventhX
andauthored
Fix/unit test texture packer error fix (Synesthesias#193)
* BuildingのLOD4 import 対応 * Revert "BuildingのLOD4 import 対応" This reverts commit addbe37. * test_texture_packer error fix. --------- Co-authored-by: COREI5\taka <seventhdim@gmail.com>
1 parent 854c256 commit 797198a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_texture_packer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace {
5252
mesh.addVerticesList(vertices);
5353
mesh.addIndicesList(indices, 0, false);
5454
mesh.addUV1(uv1, vertices.size());
55-
mesh.addSubMesh(texture_path.u8string(), mesh.getIndices().size() - 6, mesh.getIndices().size() - 1);
55+
mesh.addSubMesh(texture_path.u8string(), nullptr, mesh.getIndices().size() - 6, mesh.getIndices().size() - 1);
5656

5757
base_pos = base_pos + TVec3d{2, 0, 0};
5858
base_id += 4;

0 commit comments

Comments
 (0)