add an empty constructor to Grid mesh (#747)

* add an empty constructor with logical values for serialization purposes. eg. the BinaryImporter has issues instantiating the Grid mesh.

* empty constructor for serialization purposes
This commit is contained in:
Remy Van Doosselaer 2017-12-02 13:29:10 +01:00 committed by Rémy Bouquet
parent e0230a4b12
commit 683bf632f6

View File

@ -32,9 +32,9 @@
package com.jme3.scene.debug;
import com.jme3.scene.Mesh;
import com.jme3.scene.Mesh.Mode;
import com.jme3.scene.VertexBuffer.Type;
import com.jme3.util.BufferUtils;
import java.nio.FloatBuffer;
import java.nio.ShortBuffer;
@ -45,6 +45,9 @@ import java.nio.ShortBuffer;
*/
public class Grid extends Mesh {
public Grid() {
}
/**
* Creates a grid debug shape.
* @param xLines