From c90d7ce0f3d8ea99a1b3594c64a74535469c8bbd Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Thu, 5 Sep 2013 00:02:09 -0400 Subject: [PATCH] fix for indices with alternate constructor --- core/src/processing/data/IntDict.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/processing/data/IntDict.java b/core/src/processing/data/IntDict.java index 4cc3d927f..4d1aff090 100644 --- a/core/src/processing/data/IntDict.java +++ b/core/src/processing/data/IntDict.java @@ -88,6 +88,7 @@ public class IntDict { if (pieces.length == 2) { keys[count] = pieces[0]; values[count] = PApplet.parseInt(pieces[1]); + indices.put(pieces[0], count); count++; } }