initialize PathLayer array properly

This commit is contained in:
Hannes Janetzek 2013-10-08 16:53:48 +02:00
parent 33d5e39869
commit 1cf2ea60a7

View File

@ -59,7 +59,7 @@ public class PathLayer extends Layer {
public RenderPath() {
mClipper = new LineClipper(-max, -max, max, max, true);
mPPoints = new float[1];
mPPoints = new float[0];
layers.addLineLayer(0, mLineStyle);
}