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-75d572ba1dddmaster
parent
6cb95656e0
commit
5a91365e31
|
@ -926,6 +926,7 @@ function SvgCanvas(c)
|
||||||
if (selectedElements.indexOf(t) == -1) {
|
if (selectedElements.indexOf(t) == -1) {
|
||||||
canvas.clearSelection();
|
canvas.clearSelection();
|
||||||
canvas.addToSelection([t]);
|
canvas.addToSelection([t]);
|
||||||
|
current_poly = null;
|
||||||
}
|
}
|
||||||
// else if it's a poly, go into polyedit mode in mouseup
|
// else if it's a poly, go into polyedit mode in mouseup
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue