diff --git a/engine/src/core/com/jme3/scene/shape/Line.java b/engine/src/core/com/jme3/scene/shape/Line.java index 1edbba70b..e0db5e3c8 100644 --- a/engine/src/core/com/jme3/scene/shape/Line.java +++ b/engine/src/core/com/jme3/scene/shape/Line.java @@ -84,9 +84,9 @@ public class Line extends Mesh { */ public void updatePoints(Vector3f start, Vector3f end) { VertexBuffer posBuf = getBuffer(Type.Position); - + FloatBuffer fb = (FloatBuffer) posBuf.getData(); - + fb.rewind(); fb.put(start.x).put(start.y).put(start.z); fb.put(end.x).put(end.y).put(end.z);