Revision 08902d53
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/library/mesh/MeshBase.java | ||
---|---|---|
445 | 445 |
System.arraycopy(mesh.mVertAttribs2, 0, newAttribs2, VERT2_ATTRIBS*origVertices, VERT2_ATTRIBS*numVertices); |
446 | 446 |
origVertices+=numVertices; |
447 | 447 |
|
448 |
if( i<numMeshes-1 ) |
|
448 |
if( i<numMeshes-1 && numVertices>0 )
|
|
449 | 449 |
{ |
450 | 450 |
System.arraycopy(mesh.mVertAttribs1, VERT1_ATTRIBS*(numVertices-1), newAttribs1, VERT1_ATTRIBS*origVertices, VERT1_ATTRIBS); |
451 | 451 |
System.arraycopy(mesh.mVertAttribs2, VERT2_ATTRIBS*(numVertices-1), newAttribs2, VERT2_ATTRIBS*origVertices, VERT2_ATTRIBS); |
Also available in: Unified diff
Bump Jing works now.