Index: o3d/samples/o3d-webgl/curve.js |
diff --git a/o3d/samples/o3d-webgl/curve.js b/o3d/samples/o3d-webgl/curve.js |
index 54c76f59ca75700775db93d50d75f0c287d5f0c1..6425fbb57c6a42e3bea1fad9924e3f2cb65303c7 100644 |
--- a/o3d/samples/o3d-webgl/curve.js |
+++ b/o3d/samples/o3d-webgl/curve.js |
@@ -584,7 +584,7 @@ o3d.Curve.prototype.addBezierKeys = function(values) { |
"addBezierKeys: expected multiple of 6 values got "+values.size()); |
return; |
} |
- for (var ii = 0; ii < values.length; ii += kNumBezierKeyValues) { |
+ for (var i = 0; i < values.length; i += kNumBezierKeyValues) { |
var newKey = this.createKey("BezierCurveKey"); |
newKey.input = values[i]; |
newKey.output = values[i+1]; |