Proposed fix for issue #631

I propose to fix issue #631 by making the following one-line change to


--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -210,7 +210,7 @@
     private static MeshCollisionShape createSingleMeshShape(Geometry geom, Spatial parent) {
         Mesh mesh = geom.getMesh();
         Transform trans = getTransform(geom, parent);
-        if (mesh != null) {
+        if (mesh != null && mesh.getMode() == Mesh.Mode.Triangles) {
             MeshCollisionShape mColl = new MeshCollisionShape(mesh);
             return mColl;

May I commit these changes?

Iā€™m getting near the end of my personal backlog of JME changes, by the way. Just a few more, and I should quiet down.


Yeah, looks okay.

1 Like

Committed. Thanks for the quick response!

1 Like

Busy bee!!