[commited] NPE fix for ClodMesh / HelloLOD

HelloLOD dies with a NPE when started, following is a patch to fix the issue.



see also:

http://www.jmonkeyengine.com/jmeforum/index.php?topic=9163.msg71978#msg71978



Index: src/com/jme/scene/lod/ClodMesh.java
===================================================================
--- src/com/jme/scene/lod/ClodMesh.java   (revision 4031)
+++ src/com/jme/scene/lod/ClodMesh.java   (working copy)
@@ -102,7 +102,7 @@
         this(name, BufferUtils.clone(data.getVertexBuffer()),
                 BufferUtils.clone(data.getNormalBuffer()),
                 BufferUtils.clone(data.getColorBuffer()),
-                new TexCoords(BufferUtils.clone(data.getTextureCoords(0).coords)),
+                new TexCoords(BufferUtils.clone(data.getTextureCoords(0)==null?null:data.getTextureCoords(0).coords)),
                 BufferUtils.clone(data.getIndexBuffer()), records);
     }

commited

Thanks for fixing, Core-Dump!