As far as I know, no issue has been opened at Google Code for this.
I propose to commit Wesley’s patch to /branches/gradle-restructure/jme3-core/src/main/java/com/jme3/scene/Mesh.java and /trunk/engine/src/core/com/jme3/scene/Mesh.java
Specifically:
--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -240,8 +240,8 @@
}
clone.vertexArrayID = -1;
- clone.vertCount = -1;
- clone.elementCount = -1;
+ clone.vertCount = vertCount;
+ clone.elementCount = elementCount;
// although this could change
// if the bone weight/index buffers are modified
in ClearBuffers(). If it is set to false (i.e the last thing rendered did not have depth writing), you get a screwed up depth buffer. (sorry I’m at work, so no diffs).
If you are again feeling adventurous @sgold keep up the good work!!
I’ll put the removePreView() issue on my to-do list. I don’t feel comfortable making edits to the Android module, however. That involves special expertise of a sort I don’t possess—though I hope to some day soon.