Revision: 694
Author: allain.lalonde
Date: Fri Oct  9 08:34:26 2009
Log: Adding fix for NPE on positions.
http://code.google.com/p/piccolo2d/source/detail?r=694

Modified:
   
/piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/activities/PPositionPathActivity.java

=======================================
---  
/piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/activities/PPositionPathActivity.java
     
Thu Oct  8 14:47:46 2009
+++  
/piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/activities/PPositionPathActivity.java
     
Fri Oct  9 08:34:26 2009
@@ -51,7 +51,7 @@
      }

      public PPositionPathActivity(final long duration, final long stepRate,  
final Target aTarget) {
-        this(duration, stepRate, aTarget, null, null);
+        this(duration, stepRate, aTarget, null, new Point2D[0]);
      }

      public PPositionPathActivity(final long duration, final long stepRate,  
final Target aTarget, final float[] knots,

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to