Fix Issue 445: turn booleans back into numbers for arc path commands
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1288 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
9fa41f7d3f
commit
b0d13610bb
|
@ -1654,8 +1654,8 @@ function BatchCommand(text) {
|
|||
break;
|
||||
case 11: // relative elliptical arc (a)
|
||||
case 10: // absolute elliptical arc (A)
|
||||
dstr += seg.r1 + "," + seg.r2 + " " + seg.angle + " " + seg.largeArcFlag +
|
||||
" " + seg.sweepFlag + " " + seg.x + "," + seg.y + " ";
|
||||
dstr += seg.r1 + "," + seg.r2 + " " + seg.angle + " " + Number(seg.largeArcFlag) +
|
||||
" " + Number(seg.sweepFlag) + " " + seg.x + "," + seg.y + " ";
|
||||
break;
|
||||
case 17: // relative smooth cubic (s)
|
||||
case 16: // absolute smooth cubic (S)
|
||||
|
|
Loading…
Reference in New Issue