JuanCarlosAragon / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Mesh setInterleaved method call VertexBuffer.setupData with wrong arguments #351

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. launch TestTangentGen

What is the expected output? What do you see instead?
We expect that it works, but it crash with a java.lang.IllegalArgumentException 
recently added in vertex buffer.

Please use labels and text to provide additional information.
The issue is that setupData is called once with a -1 argument for components 
line 339
then it's called with a null value for data line 391

Original issue reported on code.google.com by remy.bou...@gmail.com on 7 May 2011 at 8:29

GoogleCodeExporter commented 8 years ago

Original comment by ShadowIs...@gmail.com on 7 May 2011 at 8:27