Remove commented out debug code

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1349 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2010-02-06 00:38:59 +00:00
parent 1b2bb9c412
commit cb790bc6a0
1 changed files with 1 additions and 11 deletions

View File

@ -3569,21 +3569,11 @@ function BatchCommand(text) {
// the control points on both sides
if (prevCtlPt) {
var newpts = smoothControlPoints( prevCtlPt, ct1, curpos );
if (newpts.length == 2) {
// set previous control point 2
// console.log("prev ctl point 2 = " + prevCtlPt.x + "," + prevCtlPt.y);
// console.log(d[d.length-1]);
// console.log(newpts);
if (newpts && newpts.length == 2) {
var prevArr = d[d.length-1].split(',');
// console.log("prevArr[2]=" + prevArr[2]);
// console.log(newpts[0].x);
prevArr[2] = newpts[0].x;
prevArr[3] = newpts[0].y;
// console.log(prevArr);
// TODO: do I need to update d or is the array a reference?
// console.log(d[d.length-1]);
d[d.length-1] = prevArr.join(',');
// console.log(d[d.length-1]);
ct1 = newpts[1];
}
}