Ensure current_poly is cleared when going into select mode

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@367 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-08-08 14:09:30 +00:00
parent 6cb95656e0
commit 5a91365e31
1 changed files with 1 additions and 0 deletions

View File

@ -926,6 +926,7 @@ function SvgCanvas(c)
if (selectedElements.indexOf(t) == -1) {
canvas.clearSelection();
canvas.addToSelection([t]);
current_poly = null;
}
// else if it's a poly, go into polyedit mode in mouseup
}