Problem occurs at next lines of code:
this.frameCount = model.getAnimation(0).getEndFrame();
this.frameCount = 16;
this.vertices = new float[frameCount][];
this.normals = new float[frameCount][];
for (int i = 0; i < frameCount; ++i) {
loadMesh(model.getFrame(i).getMesh(), i);
}
So my model doesn't have animation frames but look at here:
this.frameCount = model.getAnimation(0).getEndFrame(); //returns 1
this.frameCount = 16;
and app will crash at line:
loadMesh(model.getFrame(i).getMesh(), i);
with index out of boudns
Please manage this.
Original issue reported on code.google.com by cih.exe...@gmail.com on 5 Feb 2010 at 9:34
Original issue reported on code.google.com by
cih.exe...@gmail.com
on 5 Feb 2010 at 9:34