Skip to content

Commit fdc5583

Browse files
committed
Setting numSubmeshes default to 1
1 parent 7941185 commit fdc5583

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/core/component/MeshComponent.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ namespace Supernova{
8686
unsigned int vertexCount = 0;
8787

8888
Submesh submeshes[MAX_SUBMESHES];
89-
unsigned int numSubmeshes = 0;
89+
unsigned int numSubmeshes = 1;
9090

9191
Matrix4 bonesMatrix[MAX_BONES];
9292
float normAdjustJoint = 1;

0 commit comments

Comments
 (0)