com.jme3.scene.shape.Line: protect the no-argument constructor (#1234)
This commit is contained in:
parent
8a04afd7a1
commit
bd1b6d284c
@ -55,7 +55,7 @@ public class Line extends Mesh {
|
||||
/**
|
||||
* No-argument constructor needed by SavableClassUtil.
|
||||
*/
|
||||
public Line() { // TODO protected
|
||||
protected Line() {
|
||||
}
|
||||
|
||||
public Line(Vector3f start, Vector3f end) {
|
||||
@ -69,7 +69,6 @@ public class Line extends Mesh {
|
||||
setBuffer(Type.Position, 3, new float[]{start.x, start.y, start.z,
|
||||
end.x, end.y, end.z,});
|
||||
|
||||
|
||||
setBuffer(Type.TexCoord, 2, new float[]{0, 0,
|
||||
1, 1});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user