initialize PathLayer array properly
This commit is contained in:
@@ -59,7 +59,7 @@ public class PathLayer extends Layer {
|
|||||||
|
|
||||||
public RenderPath() {
|
public RenderPath() {
|
||||||
mClipper = new LineClipper(-max, -max, max, max, true);
|
mClipper = new LineClipper(-max, -max, max, max, true);
|
||||||
mPPoints = new float[1];
|
mPPoints = new float[0];
|
||||||
layers.addLineLayer(0, mLineStyle);
|
layers.addLineLayer(0, mLineStyle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user