Skip to content

Commit 683bf63

Browse files
rvandoosselaerNehon
authored andcommitted
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
1 parent e0230a4 commit 683bf63

File tree

1 file changed

+4
-1
lines changed
  • jme3-core/src/main/java/com/jme3/scene/debug

1 file changed

+4
-1
lines changed

jme3-core/src/main/java/com/jme3/scene/debug/Grid.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
package com.jme3.scene.debug;
3333

3434
import com.jme3.scene.Mesh;
35-
import com.jme3.scene.Mesh.Mode;
3635
import com.jme3.scene.VertexBuffer.Type;
3736
import com.jme3.util.BufferUtils;
37+
3838
import java.nio.FloatBuffer;
3939
import java.nio.ShortBuffer;
4040

@@ -45,6 +45,9 @@
4545
*/
4646
public class Grid extends Mesh {
4747

48+
public Grid() {
49+
}
50+
4851
/**
4952
* Creates a grid debug shape.
5053
* @param xLines

0 commit comments

Comments
 (0)