|  | @@ -101,6 +101,7 @@ int tnsMergeMeshObjects(tnsMeshObject* into, tnsMeshObject* mo){
 | 
	
		
			
				|  |  |      for(int i=0;i<mo->tote;i++){ mo->e[i].l+=into->totv; mo->e[i].r+=into->totv; }
 | 
	
		
			
				|  |  |      for(int i=0;i<mo->totf;i++){ for(int l=0;l<mo->f[i].looplen;l++){ mo->f[i].loop[l]+=into->totv; } }
 | 
	
		
			
				|  |  |      int origv=into->totv, orige=into->tote, origf=into->totf;
 | 
	
		
			
				|  |  | +    into->maxv=into->totv; into->maxe=into->tote; into->maxf=into->totf;
 | 
	
		
			
				|  |  |      into->totv+=mo->totv; into->tote+=mo->tote; into->totf+=mo->totf;
 | 
	
		
			
				|  |  |      arrEnsureLength(&into->v, into->totv, &into->maxv, sizeof(tnsVert)); if(mo->totv) memcpy(&into->v[origv],mo->v,sizeof(tnsVert)*mo->totv);
 | 
	
		
			
				|  |  |      arrEnsureLength(&into->e, into->tote, &into->maxe, sizeof(tnsEdge)); if(mo->tote) memcpy(&into->e[orige],mo->e,sizeof(tnsEdge)*mo->tote);
 |