diff --git a/engine/src/core/com/jme3/scene/shape/Line.java b/engine/src/core/com/jme3/scene/shape/Line.java index 577f3b1d1..e2ac6d85c 100644 --- a/engine/src/core/com/jme3/scene/shape/Line.java +++ b/engine/src/core/com/jme3/scene/shape/Line.java @@ -73,7 +73,7 @@ public class Line extends Mesh { setBuffer(Type.Normal, 3, new float[]{0, 0, 1, 0, 0, 1}); - setBuffer(Type.Index, 3, new short[]{0, 1}); + setBuffer(Type.Index, 2, new short[]{0, 1}); updateBound(); }