message: compact submeshes
  this is for debugging of instancing
diff: @@ -28,5 +28,22 @@ AnimMesh::AnimMesh(const PackedMesh& mesh)
  sub[i].iboOffset = mesh.subMeshes[i].iboOffset;
  sub[i].iboSize = mesh.subMeshes[i].iboLength;
  }
  +
  + // compact similar sub-meshes. not a big deal, but helps in graphics debugging
  + size_t cnt = 1;
  + for(size_t i=1;i<mesh.subMeshes.size();++i) {
  + auto& a = sub[cnt-1];
  + auto& b = sub[i];
  + if(a.iboOffset+a.iboSize==b.iboOffset &&
  + a.texName==b.texName &&
  + a.material==b.material) {
  + a.iboSize += b.iboSize;
  + } else {
  + sub[cnt] = b;
  + ++cnt;
  + }
  + }
  + sub.resize(cnt);
  +
  bbox.assign(mesh.bbox());
  }
  