initialize PathLayer array properly
This commit is contained in:
parent
33d5e39869
commit
1cf2ea60a7
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user