Fix bug when in polyedit mode and clicking the Poly tool, would add points to the current poly being edited

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@396 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-08-17 03:57:43 +00:00
parent a389a0936f
commit 8923f6d746
1 changed files with 5 additions and 0 deletions

View File

@ -1875,6 +1875,11 @@ function SvgCanvas(c)
current_poly = null;
current_poly_pts = [];
}
else if (current_mode == "polyedit") {
removeAllPointGripsFromPoly();
current_poly = null;
current_poly_pts = [];
}
current_mode = name;
};